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

TEST_BUG: java/awt/Choice/PopdownGeneratesMouseEvents/PopdownGeneratesMouseEvents.html failed

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      x86
    • OS:
      linux_oracle_6.0, solaris_11

      Backports

        Description

        test fails only on oel6 but should fails on all platforms:
        MouseMotionListener is added to choice1 in init(), than robot move mouse to center of choice1 in testMouseMoveOutside(), at this moment mouseMoved() start work and generate exception

        MouseMotionListener should be added after robot moved mouse to center, but it is very strange that test works fine on solaris, I think it still will not be valid for solaris after modification

        test failed on solaris and other linux too if do following steps:
        1. run command to start test in terminal
        2. move mouse so that it was over choice and wait until test is executed
        3. click mouse (terminal will get focus)
        4. start test again

        test also failed on other platform if move mouse over choice manually before choice is opened

        tested for jdk6 and jdk7
        see comments for more details

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aeremeev Andrei Eremeev
                Reporter:
                vakulova Vera Akulova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: