United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6793694 Applications using JPEG images cannot be executed by kernel JRE.
JDK-6793694 : Applications using JPEG images cannot be executed by kernel JRE.

Details
Type:
Bug
Submit Date:
2009-01-14
Status:
Resolved
Updated Date:
2012-10-01
Project Name:
JDK
Resolved Date:
2009-02-18
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10,6u12
Fixed Versions:
6u14 (b02)

Related Reports
Duplicate:
Duplicate:
Relates:
Relates:
Relates:

Sub Tasks

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

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>
                                     
2009-01-14
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.
                                     
2009-01-14
SUGGESTED FIX

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

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



Hardware and Software, Engineered to Work Together