diff -r 2004bf22423f -r 87edc8451f8a jdk/test/java/util/concurrent/tck/TreeSetTest.java --- a/jdk/test/java/util/concurrent/tck/TreeSetTest.java Fri Sep 23 13:21:23 2016 -0700 +++ b/jdk/test/java/util/concurrent/tck/TreeSetTest.java Fri Sep 23 13:24:33 2016 -0700 @@ -722,7 +722,8 @@ } static NavigableSet newSet(Class cl) throws Exception { - NavigableSet result = (NavigableSet) cl.newInstance(); + NavigableSet result = + (NavigableSet) cl.getConstructor().newInstance(); assertEquals(0, result.size()); assertFalse(result.iterator().hasNext()); return result;