[OpenJDK 2D-Dev] RFR: JDK-8218682 + JDK-8198411: [TEST_BUG] DashOffset fails in mach5 + Two java2d tests are unstable in mach5
Alexey Ivanov
alexey.ivanov at oracle.com
Fri Feb 8 20:13:19 UTC 2019
Hi,
Please review the fix for jdk 13:
bugs:
https://bugs.openjdk.java.net/browse/JDK-8218682
https://bugs.openjdk.java.net/browse/JDK-8198411
webrev:
http://cr.openjdk.java.net/~aivanov/8218682-8198411/webrev.00/
Description:
The updated DashOffset test proved to fail in mach5.
It passed BufferedImage test and then failed VolatileImage test.
VolatileImage had different colours instead of the expected white, blue
and green.
Root cause:
The host uses IndexColorModel; the image uses the closest colour.
Thus the colours do not match.
It's also the reason why DashScaleMinWidth.java and DashZeroWidth.java
fail in mach5.
Fix:
Skip testing VolatileImage where default graphics configuration uses
IndexColorModel.
I'm removing DashScaleMinWidth.java and DashZeroWidth.java from
ProblemList.txt as the tests pass now.
Regards,
Alexey
More information about the 2d-dev
mailing list