On Fri, 19 Nov 2021 15:50:47 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> The `jdk.internal.ValueBased` annotation was incorrectly applied to 
> subclasses of java.util.AbstractMap.
> [ValueBased](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/doc-files/ValueBased.html)
>  requires that supertypes have no instance fields; AbstractMap has instance 
> fields keySet and values.
> 
> Remove the internal @ValueBased annotation for subclasses of AbstractMap 
> including:
> AbstractImmutableMap, Map1, and MapN.

Marked as reviewed by iris (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/6480

Reply via email to