# | Line 54 | Line 54 | public class ForkJoinPool9Test extends J | |
---|---|---|
54 | Thread currentThread = Thread.currentThread(); | |
55 | ||
56 | Stream.of(systemClassLoader, null).forEach(cl -> { | |
57 | < | if (ThreadLocalRandom.current().nextBoolean()) |
57 | > | if (randomBoolean()) |
58 | // should always be permitted, without effect | |
59 | currentThread.setContextClassLoader(cl); | |
60 | }); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |