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

java/awt/Frame/FrameLocationTest/FrameLocationTest.java fails

    XMLWordPrintable

    Details

      Description

      The closed test java/awt/Frame/FrameLocationTest/FrameLocationTest.java is failing on Ubuntu 19.10 with JDK 14/15



      ----------System.out:(2/92)----------
      Failure. Expected: (850, 254) Saw: (70, 27)
      Failure. Expected: (850, 254) Saw: (70, 27)
      ----------System.err:(15/974)----------
      java.lang.RuntimeException: Frame.setLocation(int, int) failed
      at FrameLocationTest.setFrameLocation(FrameLocationTest.java:105)
      at FrameLocationTest.start(FrameLocationTest.java:57)
      at FrameLocationTest.main(FrameLocationTest.java:29)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Frame.setLocation(int, int) failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Frame.setLocation(int, int) failed
      ----------rerun:(40/4971)*----------


      and on a different 19.10 system :
      ----------System.out:(8/390)----------
      Failure. Expected: (110, 186) Saw: (686, 424)
      Failure. Expected: (110, 186) Saw: (686, 424)
      Failure. Expected: (794, 372) Saw: (192, 253)
      Failure. Expected: (794, 372) Saw: (192, 253)
      Failure. Expected: (1550, 170) Saw: (198, 662)
      Failure. Expected: (1550, 170) Saw: (198, 662)
      Failure. Expected: (1220, 491) Saw: (1251, 284)
      Failure. Expected: (1220, 491) Saw: (1251, 284)
      ----------System.err:(15/974)----------
      java.lang.RuntimeException: Frame.setLocation(int, int) failed
      at FrameLocationTest.setFrameLocation(FrameLocationTest.java:105)
      at FrameLocationTest.start(FrameLocationTest.java:57)
      at FrameLocationTest.main(FrameLocationTest.java:29)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Frame.setLocation(int, int) failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Frame.setLocation(int, int) failed
      ----------rerun:(40/4966)*----------

      It did not fail on 18.04. But it still could be a race/timing/test issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              azvegint Alexander Zvegintsev
              Reporter:
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: