RFR: 8323545: java/awt/GraphicsDevice/CheckDisplayModes.java fails with "exit code: 133"

Sergey Bylokhov serb at openjdk.org
Mon May 12 23:59:52 UTC 2025


On Mon, 12 May 2025 10:18:13 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> This test fails intermittently, sometimes it does not fail in half a year so i was unable to catch it myself to do any reasonable debugging. In this pull request I am adding debug output to understand at least what graphics device is connected to the test machine and which graphics mode on which device gives us problem. Next time test fails we will at least have some hint on what's going on.

test/jdk/java/awt/GraphicsDevice/CheckDisplayModes.java line 42:

> 40:         }
> 41: 
> 42:         for (GraphicsDevice graphicDevice : ge.getScreenDevices()) {

I remember that, at least in ogl, querying/initializing devices can invalidate the list of existing devices on the fly. It might be better to call getScreenDevices only once, this could(or maybe not) increase the chances to catch the bug."

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25179#discussion_r2085702105


More information about the client-libs-dev mailing list