--- jsr166/src/test/tck/VectorTest.java 2018/04/03 00:59:22 1.7 +++ jsr166/src/test/tck/VectorTest.java 2018/04/03 05:49:44 1.8 @@ -30,7 +30,12 @@ public class VectorTest extends JSR166Te } class SubListImplementation extends Implementation { public List emptyCollection() { - return super.emptyCollection().subList(0, 0); + List list = super.emptyCollection(); + ThreadLocalRandom rnd = ThreadLocalRandom.current(); + if (rnd.nextBoolean()) + list.add(makeElement(rnd.nextInt())); + int i = rnd.nextInt(list.size() + 1); + return list.subList(i, i); } } return newTestSuite(