The following test failed in the JDK24 CI:
java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java
Here's a snippet from the log file:
#section:main
----------messages:(7/279)----------
command: main MaximizedToIconified
reason: User specified action: run main MaximizedToIconified
started: Fri Aug 02 23:52:46 GMT 2024
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Fri Aug 02 23:52:50 GMT 2024
elapsed time (seconds): 4.215
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(9/331)----------
last = 0; getOldState() = 0; getNewState() = 6
state = 6; getExtendedState() = 6
last = 6; getOldState() = 6; getNewState() = 0
last = 0; getOldState() = 0; getNewState() = 1
state = 1; getExtendedState() = 1
last = 1; getOldState() = 1; getNewState() = 0
state = 0; getExtendedState() = 0
------
state = 1; getExtendedState() = 1
----------System.err:(14/981)----------
java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
at MaximizedToIconified.checkState(MaximizedToIconified.java:66)
at MaximizedToIconified.examineStates(MaximizedToIconified.java:100)
at MaximizedToIconified.doTest(MaximizedToIconified.java:120)
at MaximizedToIconified.main(MaximizedToIconified.java:131)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
----------rerun:(45/6348)*----------
java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java
Here's a snippet from the log file:
#section:main
----------messages:(7/279)----------
command: main MaximizedToIconified
reason: User specified action: run main MaximizedToIconified
started: Fri Aug 02 23:52:46 GMT 2024
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Fri Aug 02 23:52:50 GMT 2024
elapsed time (seconds): 4.215
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(9/331)----------
last = 0; getOldState() = 0; getNewState() = 6
state = 6; getExtendedState() = 6
last = 6; getOldState() = 6; getNewState() = 0
last = 0; getOldState() = 0; getNewState() = 1
state = 1; getExtendedState() = 1
last = 1; getOldState() = 1; getNewState() = 0
state = 0; getExtendedState() = 0
------
state = 1; getExtendedState() = 1
----------System.err:(14/981)----------
java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
at MaximizedToIconified.checkState(MaximizedToIconified.java:66)
at MaximizedToIconified.examineStates(MaximizedToIconified.java:100)
at MaximizedToIconified.doTest(MaximizedToIconified.java:120)
at MaximizedToIconified.main(MaximizedToIconified.java:131)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
----------rerun:(45/6348)*----------
- relates to
-
JDK-8296972 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved