-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b55
-
x86
-
windows_xp
Failing test:
api/javax_swing/PopupFactory/index.html#Ctor[PopupFactory2002]
Platform: Windows
Test fails - JDK7 b32, b33
Test passes - JDK6u10
The following line causes NPE:
PopupFactory.getSharedInstance().getPopup(new Canvas(), new Canvas(), 10, 10);
Exception in thread "main" java.lang.NullPointerException
at javax.swing.PopupFactory$ContainerPopup.fitsOnScreen(PopupFactory.java:561)
at javax.swing.PopupFactory$MediumWeightPopup.getMediumWeightPopup(PopupFactory.java:818)
at javax.swing.PopupFactory.getMediumWeightPopup(PopupFactory.java:256)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:227)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:170)
api/javax_swing/PopupFactory/index.html#Ctor[PopupFactory2002]
Platform: Windows
Test fails - JDK7 b32, b33
Test passes - JDK6u10
The following line causes NPE:
PopupFactory.getSharedInstance().getPopup(new Canvas(), new Canvas(), 10, 10);
Exception in thread "main" java.lang.NullPointerException
at javax.swing.PopupFactory$ContainerPopup.fitsOnScreen(PopupFactory.java:561)
at javax.swing.PopupFactory$MediumWeightPopup.getMediumWeightPopup(PopupFactory.java:818)
at javax.swing.PopupFactory.getMediumWeightPopup(PopupFactory.java:256)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:227)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:170)
- relates to
-
JDK-6694823 A popup menu can be partially hidden under the task bar in applets
- Resolved