[jdk21u-dev] RFR: 8348625: [21u, 17u] Revert JDK-8185862 to restore old java.awt.headless behavior on Windows [v2]

Christoph Langer clanger at openjdk.org
Tue Jan 28 14:37:54 UTC 2025


On Tue, 28 Jan 2025 14:32:29 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> This basically reverts 78e35ea113bed4a5f66225836c887a45696bbf44 to restore old behavior with regards to headless handling on Windows.
>
> Christoph Langer has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Do not run test/jdk/java/awt/font/JNICheck/FreeTypeScalerJNICheck.java on Windows debug builds

I fixed the title and I added an exclusion of the test jdk/java/awt/font/JNICheck/FreeTypeScalerJNICheck.java for Windows debug builds because these could bring up the assertions in headless test environments.

This kind:
`*********************`
`AWT Assertion Failure`
`*********************`
`hBM != 0`
`File '...\\openjdk-21u-dev-windows_x86_64-dbg\\jdk\\src\\java.desktop\\windows\\native\\libawt\\windows\\awt_Win32GraphicsDevice.cpp', at line 185
GetLastError() is 6 : The handle is invalid.`

`Do you want to break into the debugger?`
`*********************`

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1359#issuecomment-2619171922


More information about the jdk-updates-dev mailing list