-
Bug
-
Resolution: Fixed
-
P3
-
7-pool
-
b01
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8032374 | 9 | Anton Litvinov | P3 | Resolved | Fixed | b06 |
JDK-8045518 | 8u25 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8032375 | 8u20 | Anton Litvinov | P3 | Resolved | Fixed | b05 |
JDK-8053752 | emb-8u26 | Anton Litvinov | P3 | Resolved | Fixed | b17 |
JDK-8060958 | 7u79 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8057429 | 7u76 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8047619 | 7u72 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8041878 | 7u71 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8041752 | 7u66 | Anton Litvinov | P3 | Resolved | Fixed | b10 |
JDK 7u45 b18
ADDITIONAL OS VERSION INFORMATION :
OS X
A DESCRIPTION OF THE PROBLEM :
The method "sun.lwawt.macosx.CPlatformWindow.setWindowState" throws "java.lang.RuntimeException", if the provided "windowState" parameter is the bitwise mask "Frame.ICONIFIED | Frame.MAXIMIZED_BOTH" on OS X platform. Since the exception is undocumented, a third party application passing such a state value is not ready to handle the exception.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the attached test case "RuntimeExceptionOnSetExtendedState.java.zip".
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "main" java.lang.RuntimeException: Unknown window state: 7
at sun.lwawt.macosx.CPlatformWindow.setWindowState(CPlatformWindow.java:830)
at sun.lwawt.LWWindowPeer.setState(LWWindowPeer.java:589)
at java.awt.Frame.setExtendedState(Frame.java:753)
at RuntimeExceptionOnSetExtendedState.main(RuntimeExceptionOnSetExtendedState.java:14)
- backported by
-
JDK-8032374 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8032375 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8041752 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8041878 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8045518 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8047619 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8053752 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8057429 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved
-
JDK-8060958 [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED:MAXIMIZED_BOTH
- Resolved