aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-06-28 18:07:35 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-28 18:08:41 -0700
commit13028b6c906574786cb52e636cfd24e50596c162 (patch)
treedb1fb6256620cc4007b85f806beb172928494956 /scripts
parent52c6adadeebd58a811bcf4c22d6d3f3ccde812d8 (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