--- old/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java 2019-09-14 11:12:43.260946746 -0700 +++ new/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java 2019-09-14 11:12:42.888946486 -0700 @@ -38,7 +38,6 @@ import java.util.concurrent.ForkJoinPool; import java.util.concurrent.ForkJoinTask; import java.util.concurrent.Future; -import java.util.concurrent.ThreadLocalRandom; import java.util.stream.Stream; import junit.framework.Test; @@ -81,7 +80,7 @@ Thread currentThread = Thread.currentThread(); Stream.of(systemClassLoader, null).forEach(cl -> { - if (ThreadLocalRandom.current().nextBoolean()) + if (randomBoolean()) // should always be permitted, without effect currentThread.setContextClassLoader(cl); });