--- jsr166/src/test/tck/ThreadLocalRandomTest.java 2017/10/13 02:34:59 1.27 +++ jsr166/src/test/tck/ThreadLocalRandomTest.java 2018/01/07 22:59:18 1.28 @@ -355,7 +355,7 @@ public class ThreadLocalRandomTest exten // Don't use main thread's ThreadLocalRandom - it is likely to // be polluted by previous tests. final AtomicReference threadLocalRandom = - new AtomicReference(); + new AtomicReference<>(); final AtomicLong rand = new AtomicLong(); long firstRand = 0;