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

Regression test fails: test/closed/javax/swing/JMenuItem/4654927/bug4654927.java

    Details

    • Subcomponent:
    • Resolved In Build:
      b63
    • CPU:
      generic
    • OS:
      solaris

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsch Alexander Scherbatiy (Inactive)
                  Reporter:
                  mlapshin Mikhail Lapshin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: