[OpenJDK 2D-Dev] [15] Review Request: 5085520 Inconsistency in spec for RenderingHints.entrySet()

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jan 21 05:02:24 UTC 2020


Hello.
Please review the fix for JDK 15.

Bug: https://bugs.openjdk.java.net/browse/JDK-5085520
CSR: https://bugs.openjdk.java.net/browse/JDK-8237563
Fix: http://cr.openjdk.java.net/~serb/5085520/webrev.00

The java.awt.RenderingHints.entrySet() method description says
that the Set, returned by the method, can be changed and these
modifications will be reflected in the RenderingHints. However,
the last statement of the specification prohibits any
modifications of this Set.

In the fix "and vice-versa" part was removed.

-- 
Best regards, Sergey.


More information about the 2d-dev mailing list