JDK-8172337 : javax/swing/JComponent/6683775/bug6683775.java: Transparent frame is not transparent
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u112
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux,os_x
  • CPU: x86_64
  • Submitted: 2017-01-06
  • Updated: 2023-10-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.
JDK 8
8-poolUnresolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
JDK under test: /export/home/jdk/jdk1.8.0_112
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux unit-929-Ubuntu 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


A DESCRIPTION OF THE PROBLEM :
The test javax/swing/JComponent/6683775/bug6683775.java fails with the message: "Transparent frame is not transparent!" on Linux and OSX.
It has never been observed on Windows.

The issue was reported in https://bugs.openjdk.java.net/browse/JDK-6848852 which was closed as duplicate of https://bugs.openjdk.java.net/browse/JDK-6849774 which in its turn was closed as duplicate of https://bugs.openjdk.java.net/browse/JDK-6848852.

Another duplication chain:
The issue https://bugs.openjdk.java.net/browse/JDK-6848852 was closed as duplicate of https://bugs.openjdk.java.net/browse/JDK-7043845 which was closed as cannot reproduce.
However this failure was observed in 100% cases running on OSX and Linux against JDK8. It cannot be reproduced on JDK9.



STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jtreg -v -a -xml -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 javax/swing/JComponent/6683775/bug6683775.java


ERROR MESSAGES/STACK TRACES THAT OCCUR :
#section:main
----------messages:(4/121)----------
command: main bug6683775
reason: User specified action: run main bug6683775
Mode: othervm
elapsed time (seconds): 0.328
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(13/770)----------
java.lang.RuntimeException: Transparent frame is not transparent!
        at bug6683775.main(bug6683775.java:79)
        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:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Transparent frame is not transparent!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Transparent frame is not transparent!


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/javax/swing/JComponent/6683775/bug6683775.java
---------- END SOURCE ----------