Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129838

[macosx] Regression: NPE in java.awt.Choice

XMLWordPrintable

    • b68
    • 9
    • b85

        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 with JDK-8065739 fix.

        I make it P3 because Swing works OK but still, it is a regression, hopefully easy to fix.

              ssadetsky Semyon Sadetsky (Inactive)
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: