[OpenJDK 2D-Dev]  RFR JDK-5109146: PNGMetadata Background color initialization from standard metadata is incomplete
Jayathirth D V
jayathirth.d.v at oracle.com
Wed Apr 18 10:04:25 UTC 2018
Since changes related to JDK-6574555 is pushed.
Please find new webrev which captures test case changes over JDK-6574555.
From: Jayathirth D V
Sent: Tuesday, April 17, 2018 3:34 PM
Subject: [OpenJDK 2D-Dev]  RFR JDK-5109146: PNGMetadata Background color initialization from standard metadata is incomplete
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...
More information about the 2d-dev