On Wed, 22 Mar 2023 23:56:48 GMT, Chen Liang <li...@openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Tidy javadoc >> - Rename StringTemplate classes > > src/java.base/share/classes/java/lang/runtime/ReferencedKeyMap.java line 127: > >> 125: @SuppressWarnings("unchecked") >> 126: static <K, V> ReferencedKeyMap<K, V> >> 127: create(boolean isSoft, Supplier<Map<?, ?>> supplier) { > > What prevents this to take `Supplier<Map<ReferencedKey<K>, V>>`? Same for > below. Remnants of when I was have issues with param types. Changed. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/10889#discussion_r1147768901