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

[macos] com/apple/laf/RootPane/RootPaneDefaultButtonTest.java test fails on macosx-aarch64 machine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • client-libs

      RootPaneDefaultButtonTest.java is recently pushed to the mainline in JDK-8355203 and is failing in CI for macosx-aarch64 machine.

      Test Log from the CI run :

      java.lang.IllegalStateException: The default button and non-default buttons should look different: java.awt.Color[r=55,g=55,b=55] matches java.awt.Color[r=55,g=55,b=55]
      at RootPaneDefaultButtonTest.test(RootPaneDefaultButtonTest.java:170)
      at RootPaneDefaultButtonTest.main(RootPaneDefaultButtonTest.java:80)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: The default button and non-default buttons should look different: java.awt.Color[r=55,g=55,b=55] matches java.awt.Color[r=55,g=55,b=55]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: The default button and non-default buttons should look different: java.awt.Color[r=55,g=55,b=55] matches java.awt.Color[r=55,g=55,b=55]

            serb Sergey Bylokhov
            abhiscxk Abhishek Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: