OpenSearch/plugins/lang-python
Jason Tedor 871d1b4885 Remove and forbid use of j.u.c.ThreadLocalRandom
This commit removes and now forbids all uses of
java.util.concurrent.ThreadLocalRandom across the codebase. The
underlying issue with ThreadLocalRandom is that it can not be
seeded. This means that if ThreadLocalRandom is used in production code,
then tests that cover any code path containing ThreadLocalRandom will be
prevented from being reproducible by use of ThreadLocalRandom. Instead,
using org.elasticsearch.common.random.Randomness#get will give
reproducible sources of random when running under tests and otherwise
still give an instance of ThreadLocalRandom when running as production
code.
2016-01-08 12:23:48 -05:00
..
licenses Added LICENSE and NOTICE files for all plugins 2015-06-23 12:50:31 +02:00
src Remove and forbid use of j.u.c.ThreadLocalRandom 2016-01-08 12:23:48 -05:00
build.gradle Remove more Xlint skips 2016-01-06 23:53:05 -05:00