[OpenJDK 2D-Dev] [11] RFR JDK-5109146: PNGMetadata Background color initialization from standard metadata is incomplete

Jayathirth D V jayathirth.d.v at oracle.com
Tue Apr 17 10:04:04 UTC 2018

Hello All,


Please review the following fix in JDK11 :


Bug : https://bugs.openjdk.java.net/browse/JDK-5109146 

Webrev : http://cr.openjdk.java.net/~jdv/5109146/webrev.00/ 


Issue: PNGMetadata.mergeStandardTree() function doesn't set proper bKGD colortype.


Solution: When bKGD R, G, B values are unique we need to store appropriate bKGD colortype in metadata.


Note : Test case which is present as part of review in JDK-6574555 is only updated to handle regression scenario for this bug also. Regression scenario between this bug and JDK-6574555 differ only in what type(native/standard) metadata we use to merge bKGD RGB values.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20180417/7746efa3/attachment.html>

More information about the 2d-dev mailing list