-
Bug
-
Resolution: Fixed
-
P3
-
9
-
OS X 10.10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142129 | emb-9 | Semyon Sadetsky | P3 | Resolved | Fixed | team |
Run some code with java.awt.Choice on OS X (I use 10.10 as of now): popup will not show due to
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.lwawt.macosx.LWCToolkit.getScreenInsets(LWCToolkit.java:411)
I'm attaching a simplest example for convenience.
It seems to be a regression introduced in b68 withJDK-8065739 fix.
I make it P3 because Swing works OK but still, it is a regression, hopefully easy to fix.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.lwawt.macosx.LWCToolkit.getScreenInsets(LWCToolkit.java:411)
I'm attaching a simplest example for convenience.
It seems to be a regression introduced in b68 with
I make it P3 because Swing works OK but still, it is a regression, hopefully easy to fix.
- backported by
-
JDK-8142129 [macosx] Regression: NPE in java.awt.Choice
-
- Resolved
-
- duplicates
-
JDK-8130840 [macosx] The Choice List can't work correctly.
-
- Closed
-
- relates to
-
JDK-7072653 JComboBox popup mispositioned if its height exceeds the screen height
-
- Resolved
-
-
JDK-8176448 [macos] Popups in JCombobox and Choice have incorrect location in multiscreen systems
-
- Resolved
-
-
JDK-8039467 [TEST_BUG] Test java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java lefts keystrokes in a keyboard buffer on Windows
-
- Resolved
-