--- old/test/jdk/java/util/Map/FunctionalCMEs.java 2019-07-15 10:39:08.049001000 +0000 +++ new/test/jdk/java/util/Map/FunctionalCMEs.java 2019-07-15 10:39:07.861001000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,6 +30,7 @@ import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; +import java.util.TreeMap; import java.util.function.BiFunction; import org.testng.annotations.Test; @@ -53,6 +54,7 @@ new Object[]{new HashMap<>(), true}, new Object[]{new Hashtable<>(), true}, new Object[]{new LinkedHashMap<>(), true}, + new Object[]{new TreeMap<>(), true}, // Test default Map methods - no CME new Object[]{new Defaults.ExtendsAbstractMap<>(), false} ).iterator();