--- jsr166/src/test/tck/ThreadLocalRandomTest.java 2011/06/03 21:36:55 1.11 +++ jsr166/src/test/tck/ThreadLocalRandomTest.java 2013/01/09 20:22:23 1.12 @@ -271,7 +271,8 @@ public class ThreadLocalRandomTest exten public void realRun() { ThreadLocalRandom current = ThreadLocalRandom.current(); assertSame(current, ThreadLocalRandom.current()); - assertNotSame(current, threadLocalRandom.get()); + // test bug: the following is not guaranteed and not true in JDK8 + // assertNotSame(current, threadLocalRandom.get()); rand.set(current.nextLong()); threadLocalRandom.set(current); }};