diff options
author | Googler <noreply@google.com> | 2018-06-28 18:07:35 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-28 18:08:41 -0700 |
commit | 13028b6c906574786cb52e636cfd24e50596c162 (patch) | |
tree | db1fb6256620cc4007b85f806beb172928494956 /scripts | |
parent | 52c6adadeebd58a811bcf4c22d6d3f3ccde812d8 (diff) |
Make JDK version check more robust.
The current logic could fail due to StringIndexOutOfBoundsException because of calling version.substring(0, -1). The system property "java.version" could be a single integer that does not contain dot.
RELNOTES: None
PiperOrigin-RevId: 202578981
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions