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

[macosx] Dual screen failure java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • client-libs
    • generic
    • os_x

      http://java.net/jira/browse/MACOSX_PORT-744 submitted 2011/11/22 by Yuri Nesterenko
      Build: b218
      java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java
      Right location for the window center: java.awt.Point<span class=&quot;error&quot;>&#91;x=300,y=250&#93;</span>
      Actual location for the window center: java.awt.Point<span class=&quot;error&quot;>&#91;x=-200,y=250&#93;</span>
      java.lang.RuntimeException: Test FAILED: setLocationRelativeTo() operates incorrectly
      at LocationRelativeToTest.checkLocation(LocationRelativeToTest.java:107)
      at LocationRelativeToTest.main(LocationRelativeToTest.java:89)
      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:601)
      at com.sun.javatest.regtest.MainWrapper.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

            bae Andrew Brygin
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: