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

[macosx] javax.swing.PopupFactory issue with null owner

    XMLWordPrintable

Details

    • b24
    • os_x

    Backports

      Description

        A regression (I hope, easily fixable) caused two old tests failure with NPE in

        at sun.awt.EmbeddedFrame.getAppletIfAncestorOf(EmbeddedFrame.java:509)
        at javax.swing.PopupFactory.getPopup(PopupFactory.java:246)
        at javax.swing.PopupFactory.access$000(PopupFactory.java:63)
        at javax.swing.PopupFactory$1.getHeavyWeightPopup(PopupFactory.java:70)
        at com.apple.laf.ScreenPopupFactory.getPopup(ScreenPopupFactory.java:59)
        at PopTest01.doLayout(PopTest01.java:219)
        at PopTest01$1.run(PopTest01.java:70)

        Affected is, OS X only and jdk9 client PIT build circa b20.

        Tests:
        Swing_JMenu/Automated/PopBetaTest04
        Swing_JMenu/Automated/PopTest01

        Attachments

          Issue Links

            Activity

              People

                dmarkov Dmitry Markov
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: