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

test/javax/swing/JPopupMenu/PopupTest/MenuTester.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic, windows

      Description

      The test fails on MS Windows Vista with at least 6u16 (also fails on 6u18). The test output:

      ----------System.err:(87/2183)----------
      Menu testing starts
      --- Running tcEmptyMenu
      > hit key F10
      > hit key Down
      > hit key Up
      > hit key Escape
      > hit key Alt-E
      > hit key Right
      > hit key Down
      > hit key Down
      > hit key Right
      > hit key Up
      > hit key Down
      > hit key Right
      > hit key Down
      > hit key Up
      > hit key Right
      > hit key Left
      > hit key Right
      > hit key Right
      --- Running tc4213634
      > hit key Alt-M
      --- Running tc4503016
      > hit key Alt-2
      > hit key Down
      > hit key Right
      > hit key Down
      > hit key Up
      > hit key Right
      > hit key Up
      > hit key Down
      > hit key Right
      > hit key Right
      > hit key Left
      > hit key Down
      > hit key Down
      > hit key Right
      > hit key Left
      > hit key Left
      --- Running tcWin2kAltTest
      > hit key Alt-Alt
      > hit key Right
      > hit key Down
      > hit key Alt-Alt
      --- Running tc4730233
      > mouse moved to Pets
      > mouse click
      ERROR: Test failed with TestFailedException: Pets isn't visible at
      --- Running tcDuplicateMnemonics
      > hit key Alt-E
      > hit key C
      > hit key C
      > hit key C
      > hit key Alt-C
      > hit key Alt-C
      > hit key Alt-C
      > hit key Escape
      > hit key C
      > hit key C
      > hit key C
      > hit key Alt-C
      > hit key Alt-C
      > hit key Alt-C
      > hit key Space
      < menu item chosen: Copy
      Testing finished
      The following testcases failed:
        tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233
      java.lang.RuntimeException: Some test cases failed
      at MenuTester.report(MenuTester.java:476)
      at MenuTester.test(MenuTester.java:445)
      at MenuTester.main(MenuTester.java:481)
      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:94)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amrsahu Amresh Sahu
                Reporter:
                anthony Anthony Petrov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: