JDK-8079254 : [TESTBUG] 2 swing-reg tests are failing as background color mismatches with GTKL&F on Ubuntu 14.10
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9,17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: generic
  • Submitted: 2015-05-04
  • Updated: 2022-09-09
  • Resolved: 2022-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
Testsuite name: Regression
Test name(s): javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java
Product(s) tested: JDK 9b60(32-bit and 64-bit)
OS/architecture: Ubuntu 14.10/i586, Ubuntu 15.04/amd64
Error log file (if present):  see comments
Reproducible: Always
Reproducible on machine:stt-133.ru.oracle.com, stt-136.ru.oracle.com
Is it a Regression: No(fails for JDK 9b40, JDK 9b52 also)
Regression introduced in release/build: N/A

Is it a platform specific issue: Yes(passes on OEL 6.4 and Solaris(x64))
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: Yes/No
[If new configuration testing] Issue specific to execution mode or OS/browser version:

Exception/Error from Log: 
1. javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java
----------System.err:(17/1365)----------
java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
	at Common.checkShape(Common.java:233)
	at Common.checkDynamicShape(Common.java:209)
	at Common.checkDynamic(Common.java:383)
	at ShapedPerPixelTranslucentGradient.doTest(ShapedPerPixelTranslucentGradient.java:67)
	at ShapedPerPixelTranslucentGradient.main(ShapedPerPixelTranslucentGradient.java:58)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]

2. javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java
----------System.err:(17/1409)----------
java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
	at Common.checkShape(Common.java:233)
	at Common.checkDynamicShape(Common.java:209)
	at Common.checkDynamic(Common.java:383)
	at ShapedTranslucentPerPixelTranslucentGradient.doTest(ShapedTranslucentPerPixelTranslucentGradient.java:68)
	at ShapedTranslucentPerPixelTranslucentGradient.main(ShapedTranslucentPerPixelTranslucentGradient.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
Comments
RULE javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java Exception java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=125,g=128,b=130] does not equal to background color java.awt.Color[r=0,g=0,b=255]
23-07-2015

RULE javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java Exception java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=2,g=1,b=248] does not equal to background color java.awt.Color[r=0,g=0,b=255]
13-07-2015

Test fails with same error on solaris sparcv9 for 9b65 also RULE javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java Exception java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=238,g=238,b=238] does not equal to background color java.awt.Color[r=0,g=0,b=255]
27-05-2015

Test fails without GTKL&F also for JDK 9b60 on Ubuntu 14.10
04-05-2015