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

Comparing jsr166/src/test/tck/ConcurrentSkipListMapTest.java (file contents):
Revision 1.37 by jsr166, Sun May 24 01:23:17 2015 UTC vs.
Revision 1.38 by jsr166, Thu Sep 15 16:43:56 2016 UTC

# Line 997 | Line 997 | public class ConcurrentSkipListMapTest e
997  
998      static NavigableMap<Integer, Integer> newMap(Class cl) throws Exception {
999          NavigableMap<Integer, Integer> result =
1000 <            (NavigableMap<Integer, Integer>) cl.newInstance();
1000 >            (NavigableMap<Integer, Integer>) cl.getConstructor().newInstance();
1001          assertEquals(0, result.size());
1002          assertFalse(result.keySet().iterator().hasNext());
1003          return result;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines