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

test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java failed

    XMLWordPrintable

Details

    Backports

      Description

        The new test test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java fails in our nightly test on Ubuntu Linux :-

        The test was just pushed and failed first time it was ran, so probably will fail again.

        ----------System.out:(8/608)----------
        expected java.awt.Color[r=0,g=0,b=255] actual java.awt.Color[r=0,g=0,b=255]
        expected java.awt.Color[r=255,g=0,b=0] actual java.awt.Color[r=255,g=0,b=0]
        expected java.awt.Color[r=0,g=0,b=255] actual java.awt.Color[r=0,g=0,b=255]
        expected java.awt.Color[r=255,g=0,b=0] actual java.awt.Color[r=0,g=0,b=255]
        expected java.awt.Color[r=0,g=0,b=255] actual java.awt.Color[r=0,g=0,b=255]
        expected java.awt.Color[r=255,g=0,b=0] actual java.awt.Color[r=255,g=0,b=0]
        expected java.awt.Color[r=0,g=0,b=255] actual java.awt.Color[r=0,g=0,b=255]
        expected java.awt.Color[r=255,g=0,b=0] actual java.awt.Color[r=0,g=0,b=255]
        ----------System.err:(17/1104)----------
        L&F: GTK+
        L&F: CDE/Motif
        L&F: Nimbus
        L&F: Metal
        java.lang.RuntimeException: [CDE/Motif background color wrong for opaque=true, Metal background color wrong for opaque=true]
        at TestBackgroundScrollPolicy.main(TestBackgroundScrollPolicy.java:52)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        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: [CDE/Motif background color wrong for opaque=true, Metal background color wrong for opaque=true]
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: [CDE/Motif background color wrong for opaque=true, Metal background color wrong for opaque=true]

        See

        Changeset: 94b1c5e6a889
        Author: psadhukhan
        Date: 2020-05-06 14:02 +0530
        URL: https://hg.openjdk.java.net/jdk/client/rev/94b1c5e6a889

        8172269: When checking the default behaviour for a scroll tab layout and checking the 'opaque' checkbox, the area behind tabs is not red
        Reviewed-by: serb

        ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java
        + test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java

        Attachments

          Issue Links

            Activity

              People

                psadhukhan Prasanta Sadhukhan
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: