-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b63
-
generic
-
solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8172646 | openjdk7u | Alexandr Scherbatiy | P4 | Resolved | Fixed | master |
Regression test fails: test/closed/javax/swing/JMenuItem/4654927/bug4654927.java
JDK: 7 b22
Tested OSes:
- Solaris nevada b70: test fails
- Linux i686: test sometimes passes, sometimes fails
- Windows XP: test passes
Stack trace:
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1838)
at java.awt.Component.getLocationOnScreen(Component.java:1812)
at JRobot.moveMouseTo(JRobot.java:90)
at bug4654927.main(bug4654927.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
at java.lang.Thread.run(Thread.java:675)
The test logs in the attachment.
JDK: 7 b22
Tested OSes:
- Solaris nevada b70: test fails
- Linux i686: test sometimes passes, sometimes fails
- Windows XP: test passes
Stack trace:
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1838)
at java.awt.Component.getLocationOnScreen(Component.java:1812)
at JRobot.moveMouseTo(JRobot.java:90)
at bug4654927.main(bug4654927.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
at java.lang.Thread.run(Thread.java:675)
The test logs in the attachment.
- backported by
-
JDK-8172646 Regression test fails: test/closed/javax/swing/JMenuItem/4654927/bug4654927.java
- Resolved
- relates to
-
JDK-4654927 Clicking on Greyed Menuitems closes the Menubar Dropdown
- Closed