JDK-6793694 : Applications using JPEG images cannot be executed by kernel JRE.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10,6u12
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2009-01-14
  • Updated: 2021-01-29
  • Resolved: 2009-02-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
6u14 b02Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The test case application is:

public class Main {            
	java.awt.color.ColorSpace.getInstance(java.awt.color.ColorSpace.CS_LINEAR_RGB);
}

An attempt to run application leads to unhandled exception throwing in kernel JRE and system exit.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u14/6793694.2/
03-02-2009

EVALUATION If color profile is missing check with DownloadManager if it can be installed.
03-02-2009

EVALUATION Loading of custom JPEG image can initiate color space creation. Files CIEXYZ.pf GRAY.pf LINEAR_RGB.pf PYCC.pf sRGB.pf need to be in place (lib/cmm) at this moment, but only sRGB.pf is.
14-01-2009

SUGGESTED FIX The line <file>lib/cmm/sRGB.pf</file> in deploy/src/kernel/share/classes/sun/kernel/bundles.xml have to be changed to <file>lib/cmm/*.pf</file>
14-01-2009