[OpenJDK 2D-Dev] RFR: 8254370: Update the classes in the java.awt.color package

Sergey Bylokhov serb at openjdk.java.net
Sun Oct 25 01:08:35 UTC 2020


On Sat, 24 Oct 2020 23:09:44 GMT, Phil Race <prr 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_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

CSR is needed and linked from the JBS, and after a few attempts, it is referenced from this pull request a few comments above.

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

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


More information about the 2d-dev mailing list