[jdk25u-dev] RFR: 8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently
duke
duke at openjdk.org
Mon Feb 16 17:50:12 UTC 2026
On Mon, 9 Feb 2026 18:20:52 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently.
>
> This PR migrates tests from a closed repository with improvements including corrected thread logic, paint-on-demand behavior, and support for all systems (not just OpenGL).
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/sun/java2d/OpenGL/DrawBitmaskImage.java
> make test TEST=test/jdk/sun/java2d/OpenGL/DrawBufImgOp.java
> make test TEST=test/jdk/sun/java2d/OpenGL/DrawImageBg.java
> make test TEST=test/jdk/sun/java2d/OpenGL/LargeOps.java
> make test TEST=test/jdk/sun/java2d/OpenGL/OpaqueDest.java
> make test TEST=test/jdk/sun/java2d/OpenGL/ScaleParamsOOB.java
> make test TEST=test/jdk/sun/java2d/OpenGL/ShapeClip.java
> make test TEST=test/jdk/sun/java2d/OpenGL/SrcMaskOps.java
> make test TEST=test/jdk/sun/java2d/OpenGL/VolatileSubRegion.java
> make test TEST=test/jdk/sun/java2d/OpenGL/XformVolatile.java
>
> Note: test/jdk/sun/java2d/OpenGL/ScaleParamsOOB.java fails on linux-x64 and linux-aarch64 (using libmesa software rendering) with a color mismatch error (expected=ffff0000 actual=ff000000 at x=40 y=40), similar to [JDK-8369335](https://bugs.openjdk.org/browse/JDK-8369335). The similar error on Windows (not observed during my testing) will be fixed for in a separate backport PR (https://github.com/openjdk/jdk25u-dev/pull/265), but not the issue mentioned. Created [JDK-8377908](https://bugs.openjdk.org/browse/JDK-8377908) to capture the issue.
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25217391/windows-x64-specific-test.log)
> [windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25217392/windows-x64-specific-2-test.log)
> [windows-x64-specific-3-test.log](https://github.com/user-attachments/files/25217393/windows-x64-specific-3-test.log)
> [windows-x64-specific-4-test.log](https://github.com/user-attachments/files/25217394/windows-x64-specific-4-test.log)
> [windows-x64-specific-5-test.log](https://github.com/user-attachments/files/25217395/windows-x64-specific-5-test.log)
> [windows-x64-specific-6-test.log](https://github.com/user-attachments/files/25217396/windows-x64-specific-6-test.log)
> [windows-x64-specific-7-test.log](https://github.com/user-attachments/files/25217397/windows-x64-specific-7-test.log)
> [windows-x64-specific-8-test.log](https://github.com/user-attachments/files/25217398/windows-x64-specific-8-test.log)
> [windows-x64-specific...
@rm-gh-8
Your change (at version 96820b6dbf905b98f29a631441cfb852bc1345b9) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/249#issuecomment-3909772590
More information about the jdk-updates-dev
mailing list