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

Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 11, 17, 21, 23, 24
    • client-libs
    • b25
    • aarch64
    • os_x


        ShapeNotSetSometimes.java fails intermittently with the following error on macOS-aarch64

        Checking 150, 130, java.awt.Color[r=55,g=55,b=55] should be java.awt.Color[r=255,g=255,b=255]
        window.getX() = 810, window.getY() = 386
        ----------System.err:(18/1153)----------
        Checking for transparency failed: point: 960, 516
        actual java.awt.Color[r=55,g=55,b=55]
        expected java.awt.Color[r=255,g=255,b=255]
        java.lang.RuntimeException: Test failed. The shape has not been applied.
        at ShapeNotSetSometimes.colorCheck(ShapeNotSetSometimes.java:200)
        at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:151)
        at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:138)
        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$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.

              mvs Manukumar V S
              honkar Harshitha Onkar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: