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)