[OpenJDK 2D-Dev] RFR: 8254370: Update the classes in the java.awt.color package
Phil Race
prr at openjdk.java.net
Sat Oct 24 23:12:38 UTC 2020
On Mon, 12 Oct 2020 18:23:48 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> - The spec for ICC_ProfileRGB.getGamma(int) and ICC_ProfileRGB.getTRC(int) is updated
> - Two additional tests are added to cover some basic specified functionality
> - Some code in these classes was simplified/cleaned
> - Some common code is extracted to the separate methods.
src/java.desktop/share/classes/java/awt/color/ICC_ProfileGray.java line 146:
hmm this old code looked like it might be trying to avoid its own override but no such override exists ...
src/java.desktop/share/classes/java/awt/color/ICC_ProfileRGB.java line 209:
> 207: * {@code REDCOMPONENT}, {@code GREENCOMPONENT}, or
> 208: * {@code BLUECOMPONENT}
> 209: * @throws ProfileDataException if the profile does not specify the
You said no CSR is needed but you document a previously undocumented exception, so I think a CSR is warranted
-------------
PR: https://git.openjdk.java.net/jdk/pull/612
More information about the 2d-dev
mailing list