--- old/make/jdk/src/classes/build/tools/generatecharacter/PropList.java 2019-08-27 10:57:29.000000000 -0700 +++ new/make/jdk/src/classes/build/tools/generatecharacter/PropList.java 2019-08-27 10:57:28.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -31,7 +31,8 @@ /** * A PropList object contains the lists of code points that have - * the same Unicode property defined in PropList.txt + * the same Unicode property defined in PropList.txt and + * DerivedCoreProperties.txt * * @author Xueming Shen */ @@ -51,8 +52,13 @@ return propMap.keySet(); } - private Map> propMap = - new LinkedHashMap>(); + public void putAll(PropList pl) { + pl.names().stream() + .forEach(name -> propMap.put(name, pl.codepoints(name))); + } + + private Map> propMap = + new LinkedHashMap>(); private PropList(File file, int plane) throws IOException { @@ -78,7 +84,7 @@ start &= 0xffff; end &= 0xffff; - ArrayList list = propMap.get(name); + List list = propMap.get(name); if (list == null) { list = new ArrayList(); propMap.put(name, list);