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

Tests javax/swing/JPopupMenu/6675802/bug6675802.java javax/swing/JMenuItem/6883341/bug6883341.java fails in osx

XMLWordPrintable

      Testsuite name: Regression
      Test name(s):javax/swing/JPopupMenu/6675802/bug6675802.java ,javax/swing/JMenuItem/6883341/bug6883341.java
      JDK tested: jdk1.8_20b21, jdk1.8b132,jdk1.8.0_20b17,jdk1.8.0_20b18
      OS tested:osx
      Is it a regression? Yes (Passes in jdku20b17 and starts fialing from jdk820b18)

      Regression introduced in release/build: N/A
      Is it platform specific? Yes (Only fails mac)
      java.lang.NullPointerException
              at sun.awt.EmbeddedFrame.getAppletIfAncestorOf(EmbeddedFrame.java:509)
              at javax.swing.PopupFactory.getPopup(PopupFactory.java:235)
              at com.apple.laf.ScreenPopupFactory._getHeavyWeightPopup(Native Method)
              at com.apple.laf.ScreenPopupFactory.getPopup(ScreenPopupFactory.java:74)
              at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:61)
              at javax.swing.JPopupMenu.showPopup(JPopupMenu.java:837)
              at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:790)
              at javax.swing.JPopupMenu.show(JPopupMenu.java:965)
              at bug6675802.main(bug6675802.java:40)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:483)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:745)

            pchelko Petr Pchelko (Inactive)
            sraghavan Srinivasan Raghavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: