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

java/awt/Window/GetScreenLocation/GetScreenLocationTest.java fails on Ubuntu

    XMLWordPrintable

    Details

    • Subcomponent:
    • OS:
      linux_ubuntu

      Description

      Testsuite name: jdk_awt
      Test name(s): java/awt/Window/GetScreenLocation/GetScreenLocationTest.java
      Product(s) tested: JDK 11.0.4b07
      OS/architecture: Ubuntu 19.04

      Reproducible: Always
      Reproducible on machine: llg00tuo.uk.oracle.com (Ubuntu 19.04)

      Is it a Regression: No, Fails for Previous GA Release JDK11.0.3b11

      Does it affect JDK13 : Yes, Fails with JDK13b24

      Is it a platform specific issue: Yes. Fails on Ubuntu but passes on llg00fza.uk.oracle.com (Oracle Linux 6.9)

      Exception/Error from log:
      java.lang.RuntimeException: getLocation() returns wrong coordinates java.awt.Point[x=312,y=121]
      at GetScreenLocationTest.main(GetScreenLocationTest.java:58)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:834)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              azvegint Alexander Zvegintsev
              Reporter:
              nnigam Nancy Nigam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: