-
Bug
-
Resolution: Fixed
-
P3
-
15
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8308480 | 11.0.21-oracle | Renjith Kannath Pariyangad | P4 | Resolved | Fixed | b01 |
JDK-8295358 | 11.0.18 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
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
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
- backported by
-
JDK-8295358 test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java failed
-
- Resolved
-
-
JDK-8308480 test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java failed
-
- Resolved
-
- relates to
-
JDK-8172269 When checking the default behaviour for a scroll tab layout and checking the 'opaque' checkbox, the area behind tabs is not red.
-
- Resolved
-