JDK-7029903 : Splash screen is not shown in 64-bit Linux with 16-bit color depth
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u25
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-22
  • Updated: 2013-05-14
  • Resolved: 2011-10-18
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 6 JDK 7 JDK 8
6u30Fixed 7u2Fixed 8 b10Fixed
Related Reports
Relates :  
Description
The splash screen is not shown in 64-bit Linux (do not know about solaris) using 16-bit color depth scheme. Only explicit invocation of update() makes the splash screen appear. It does not matter how much time passes before the update method is invoked.

The following code helps to observe the splash screen start failure:

        System.out.println("Sleeping for " + sleepms + "ms...");
        sleep(sleepms);
        SplashScreen ss = SplashScreen.getSplashScreen();
        System.out.println("createGraphics()");
        ss.createGraphics();
        sleep(1000);
        System.out.println("update()");
        ss.update();	// Splash screen appears at this point
        sleep(2000);
        System.out.println("ending in 1sec");
        sleep(1000);

The sample code is attached.
For your convenience I also attach the bundled jar containing the image and the code (test-89x89.jar)


 The failure is observed at least for JDK6u25 and JDK6u23.
========================================================
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
========================================================

 Not observed for JDK6.0 b105
========================================================
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
========================================================

More info:
- observed in KDE 4.3.5 and GNOME 2.3
- not observed in 24-bit color mode
- uname -a:
========================================================
Linux green 2.6.31.14-0.6-desktop #1 SMP PREEMPT 2010-12-10 11:18:32 +0100 x86_64 x86_64 x86_64 GNU/Linux
========================================================
- xwininfo:
========================================================
  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1280
  Height: 1024
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 1280x1024+0+0
========================================================

Comments
Verified!
14-05-2013

EVALUATION Regression introduced by CR6557810. See child CR for JDK6 for details.
10-06-2011