JDK-6657581 : ICC_Profile.getData(ICC_Profile.icSigAToB0Tag) returns null
  • 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-09-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 fail because method getData() returns null

------------------------------------------------------------------------------
api/java_awt/Color/ICC_ProfileGray/index.html#SetDataTesttestCase1
Extract:
        ICC_ProfileGray profile = (ICC_ProfileGray)ICC_ProfileGray.getInstance(ColorSpace.CS_GRAY);
        byte[] headData = new byte[10];
        for(int i = 0;i < headData.length;i++)
            headData[i] = (byte)i;
        profile.setData(ICC_ProfileGray.icSigAToB0Tag, headData);
        byte[] data = profile.getData(ICC_ProfileGray.icSigAToB0Tag);
------------------------------------------------------------------------------
api/java_awt/Color/ICC_ProfileGray/index.html#GetTesttestCase2
Extract:
        ICC_Profile profile = ICC_ProfileGray.getInstance(ColorSpace.CS_GRAY);
        byte[] headData = new byte[10];
        for(int i = 0;i < headData.length;i++)
            headData[i] = (byte)i;
        profile.setData(ICC_ProfileGray.icSigAToB0Tag, headData);
        byte[] data = profile.getData(ICC_ProfileGray.icSigAToB0Tag);
------------------------------------------------------------------------------
api/java_awt/Color/ICC_Profile/index.html#GetTesttestCase2
Extract:
        ICC_Profile profile = ICC_Profile.getInstance(ColorSpace.CS_sRGB);
        byte[] headData = new byte[10];
        for(int i = 0;i < headData.length;i++)
            headData[i] = (byte)i;
        //test with the 'head' tag
        profile.setData(ICC_Profile.icSigAToB0Tag, headData);
        byte[] data = profile.getData(ICC_Profile.icSigAToB0Tag);

Comments
EVALUATION Resolved as expected by fix for 6733501.
24-09-2008

EVALUATION Color profiles are in the area of Java2D responsibility.
31-01-2008