[jdk21u-dev] RFR: 8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently

Goetz Lindenmaier goetz at openjdk.org
Fri Feb 27 19:23:29 UTC 2026


On Tue, 24 Feb 2026 20:52:43 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. Already backported to 25.
> 
> 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. Issues related to [JDK-8369335](https://bugs.openjdk.org/browse/JDK-8369335) (https://github.com/openjdk/jdk21u-dev/pull/2644) and [JDK-8378113](https://bugs.openjdk.org/browse/JDK-8378113) (https://github.com/openjdk/jdk21u-dev/pull/2645) will be addressed in separate dependent backport PRs.
> 
> For this backport to 21, test/jdk/sun/java2d/OpenGL/DrawBitmaskImage.java also fails. This doesn't occur on tip, 26 and 25, which is likely due to a bug in 21. Created [JDK-8378788](https://bugs.openjdk.org/browse/JDK-8378788) to report the issue and [JDK-8378789](https://bugs.openjdk.org/browse/JDK-8378789) (https://github.com/openjdk/jdk21u-dev/pull/2646) to add it to the problem list.
> 
> Results attached:
> 
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25584323/macos-aarch64-specific-test.log)
> [macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25584327/macos-aarch64-specific-2-test.log)
> [macos-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25584328/macos-aarch64-specific-3-test.log)
> [macos-aarch64-specific-4-test.log](https://github.com/user-attachments/files/25584330/macos-aarch64-specific-4-test.log)
> [macos-aarch64-specific-5-test.log](https://github.com/user-attachments/files/25584332/macos-aarch64-specific-5-test.log)
> [macos-aarch64-specific-6-test.log](https://github.com/user-attachments/files/25584334/macos-aarch64-specific-6-test.log)
> [macos-aa...

Hi @rm-gh-8 
I added fix-request and fix-yes to https://bugs.openjdk.org/browse/JDK-8378789, too.
Please make sure you push this and all follow-ups at the same time, so that they are either 
pushed before or after Tuesday 3rd, 18:00 CET.  That's the date of split between 21.011 and 21.0.12.

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2636#issuecomment-3974658253


More information about the jdk-updates-dev mailing list