JDK-6657604 : Tests fail with IllegalArgumentException: Can't load standard profile: LINEAR_RGB.pf
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: OpenJDK6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2008-01-31
  • Updated: 2012-03-22
  • Resolved: 2008-04-24
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
OpenJDK6Resolved
Related Reports
Duplicate :  
Description
JDK: openJDK6 b03 (pass on b02)
JCK: JCK6a + alt01
Platform: Ubuntu Linux

The following tests fails with similar reports

api/java_awt/Color/index.html#getColorComponents[Color0019]
api/java_awt/Color/index.html#getColorSpace[Color0024]
api/java_awt/Color/index.html#getComponents[Color0026]
api/java_awt/Color/index.html#ctor4[Color0006]
api/java_awt/Color/ICC_ColorSpace/index.html#GetTesttestCase6
api/java_awt/Color/ICC_Profile/index.html#GetTesttestCase10


java.lang.IllegalArgumentException: Can't load standard profile: LINEAR_RGB.pf
	at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:893)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.color.ICC_Profile.getStandardProfile(ICC_Profile.java:886)
	at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:867)
	at java.awt.color.ColorSpace.getInstance(ColorSpace.java:328)


The following calls causes IAE:

        ICC_ColorSpace.getInstance(ICC_ColorSpace.CS_LINEAR_RGB);
        ColorSpace.getInstance(ColorSpace.CS_LINEAR_RGB);
        ICC_Profile.getInstance(ColorSpace.CS_LINEAR_RGB)
        etc.

Comments
EVALUATION I believe Java2D team is responsible for the color management classes.
31-01-2008