--- old/test/jdk/java/util/concurrent/ConcurrentMap/ConcurrentModification.java 2019-04-24 17:10:49.138515263 +0100 +++ new/test/jdk/java/util/concurrent/ConcurrentMap/ConcurrentModification.java 2019-04-24 17:10:48.746505994 +0100 @@ -89,6 +89,21 @@ } } } catch (Throwable t) {unexpected(t);} + + try { + if (m instanceof ConcurrentSkipListMap) { + m.clear(); + check(m.isEmpty()); + m.put(1,2); + check(m.size() == 1); + ConcurrentSkipListMap mc = ((ConcurrentSkipListMap) m).clone(); + check(m.size() == 1); + check(mc.size() == 1); + m.put(2,3); + check(m.size() == 2); + check(mc.size() == 1); + } + } catch (Throwable t) {unexpected(t);} } public static void main(String[] args) {