ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ForkJoinPool9Test.java
(Generate patch)

Comparing jsr166/src/test/tck/ForkJoinPool9Test.java (file contents):
Revision 1.7 by jsr166, Sat Feb 9 19:20:54 2019 UTC vs.
Revision 1.8 by jsr166, Tue Aug 13 00:54:51 2019 UTC

# 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                  });

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines