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

test/closed/javax/swing/Popup/TaskbarPositionTest.java fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 7
    • client-libs
    • None

    Description

      The regression test fails on MS Windows Vista with the latest JDK 7 (~b70+) with the following output:

      ----------System.out:(2/243)----------
      We do not match! java.awt.Rectangle[x=0,y=0,width=1280,height=994] / java.awt.Rectangle[x=255,y=872,width=89,height=152]
      We do not match! java.awt.Rectangle[x=0,y=0,width=1280,height=994] / java.awt.Rectangle[x=10,y=872,width=89,height=152]
      ----------System.err:(13/717)----------
      java.lang.RuntimeException: Test failed
      at TaskbarPositionTest.main(TaskbarPositionTest.java:379)
      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:617)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      The test also fails on linux-i586, Gnome/Metacity 2.24 with the following output:

      ----------System.out:(1/120)----------
      We do not match! java.awt.Rectangle[x=0,y=24,width=1920,height=1176] / java.awt.Rectangle[x=0,y=0,width=109,height=121]
      ----------System.err:(13/704)----------
      java.lang.RuntimeException: Test failed
      at TaskbarPositionTest.main(TaskbarPositionTest.java:379)
      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:617)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

      Attachments

        Issue Links

          Activity

            People

              peterz Peter Zhelezniakov
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: