[jdk25u-dev] Integrated: 8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently
Roland Mesde
duke at openjdk.org
Mon Feb 16 19:56:20 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...
This pull request has now been integrated.
Changeset: a1261169
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/a1261169ff3ee64bf87e15574f0f5e7d15bcb5c8
Stats: 1989 lines in 11 files changed: 1989 ins; 0 del; 0 mod
8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently
Backport-of: ebeb77baaeb6d9098d7462f5ddf61d8583b1e493
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/249
More information about the jdk-updates-dev
mailing list