-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 19, 20, 21
-
b04
-
generic
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8337079 | 21.0.6-oracle | Renjith Kannath Pariyangad | P4 | Resolved | Fixed | b01 |
JDK-8340169 | 21.0.6 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8337080 | 17.0.14-oracle | Renjith Kannath Pariyangad | P4 | Resolved | Fixed | b01 |
JDK-8340167 | 17.0.14 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8337211 | 11.0.26-oracle | Renjith Kannath Pariyangad | P4 | Resolved | Fixed | b01 |
```
#section:main
----------messages:(7/279)----------
command: main MaximizedToIconified
reason: User specified action: run main MaximizedToIconified
started: Wed Oct 12 04:13:38 UTC 2022
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Wed Oct 12 04:13:42 UTC 2022
elapsed time (seconds): 3.873
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(11/452)----------
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
last = 0; getOldState() = 0; getNewState() = 1
state = 1; getExtendedState() = 1
last = 1; getOldState() = 1; getNewState() = 0
state = 6; getExtendedState() = 0
----------System.err:(14/877)----------
java.lang.RuntimeException: getExtendedState() != 6 as expected.
at MaximizedToIconified.checkState(MaximizedToIconified.java:70)
at MaximizedToIconified.examineStates(MaximizedToIconified.java:98)
at MaximizedToIconified.doTest(MaximizedToIconified.java:117)
at MaximizedToIconified.main(MaximizedToIconified.java:124)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1588)
JavaTest Message: Test threw exception: java.lang.RuntimeException: getExtendedState() != 6 as expected.
```
It is still being observed on 13.1 Beta (22C5033e)
The test passes successfully on the previous macOS versions 11, 12.
The issue was observed on jdk20 20-ea+23-1677. It is also reproducible with jdk19 (19.0.1+10-21), jdk17
*Reproducibility*: 100%
*Steps to reproduce*:
$ jtreg/bin/jtreg -va -testjdk:jdk-20.jdk/Contents/Home/ test/jdk/java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java
- backported by
-
JDK-8337079 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved
-
JDK-8337080 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved
-
JDK-8337211 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved
-
JDK-8340167 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved
-
JDK-8340169 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
- Resolved
- relates to
-
JDK-8337833 java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
- Closed
- links to
-
Commit openjdk/jdk/f0c2f098
-
Commit(master) openjdk/jdk17u-dev/a5d9f49a
-
Commit(master) openjdk/jdk21u-dev/c19857a5
-
Review openjdk/jdk/14226
-
Review(master) openjdk/jdk17u-dev/2866
-
Review(master) openjdk/jdk21u-dev/965