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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b68
    • Introduced In Version:
      9
    • Resolved In Build:
      b85

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: