Backports

Description

JDK : Fails: 6u10 b05
Passes: 6u10 b04

Platform Tested : Windows Vista Home, Windows XP Pro

Failing Test [s] : javax/swing/JPopupMenu/6544309/bug6544309.java

Test output:
============
----------System.out:(2/37)----------
Pressing DOWN ARROW
Pressing SPACE
----------System.err:(15/991)----------
java.lang.RuntimeException: If a JDialog is invoker for JPopupMenu, the menu cannot be handled by keyboard.
at bug6544309.checkResult(bug6544309.java:79)
at bug6544309.test(bug6544309.java:59)
at bug6544309.main(bug6544309.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:619)