OpenSearch/libs
Tanguy Leroux c43e932a0c Fix CharArraysTests.testConstantTimeEquals() (#47346)
The change #47238 fixed a first issue (#47076) but introduced 
another one that can be reproduced using:

org.elasticsearch.common.CharArraysTests > testConstantTimeEquals FAILED

java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at __randomizedtesting.SeedInfo.seed([DFCA64FE2C786BE3:ED987E883715C63B]:0)
at java.lang.String.substring(String.java:1963)
at org.elasticsearch.common.CharArraysTests.testConstantTimeEquals(CharArraysTests.java:74)

REPRODUCE WITH: ./gradlew ':libs:elasticsearch-core:test' --tests 
"org.elasticsearch.common.CharArraysTests.testConstantTimeEquals" 
-Dtests.seed=DFCA64FE2C786BE3 -Dtests.security.manager=true -Dtests.locale=fr-CA 
-Dtests.timezone=Pacific/Johnston -Dcompiler.java=12 -Druntime.java=8

that happens when the first randomized string has a length of 0.
2019-10-01 12:49:15 +02:00
..
cli CLI tools: write errors to stderr instead of stdout (#45586) 2019-08-21 14:46:07 -04:00
core Fix CharArraysTests.testConstantTimeEquals() (#47346) 2019-10-01 12:49:15 +02:00
dissect Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
geo Geo: Change order of parameter in Geometries to lon, lat 7.x (#45618) 2019-08-16 14:42:02 -04:00
grok Upgrade jcodings dependency to 1.0.44 (#43334) 2019-06-26 10:03:40 +02:00
nio Reduce a bind failure to trace logging (#46891) 2019-09-24 10:32:18 -06:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
ssl-config Unmute test that seems to be fixed (#44432) 2019-07-31 16:33:21 +02:00
x-content Isolate Request in Call-Chain for REST Request Handling (#45130) (#45417) 2019-08-10 10:21:01 +02:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00