JDK-7058434 : closed/java/awt/color/ICC_Profile/TagInjectionTest.java failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2011-06-23
  • Updated: 2011-12-29
  • Resolved: 2011-09-16
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 7 JDK 8
7u2 b08Fixed 8Fixed
Related Reports
Relates :  
Description
see comments

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/7u2/7058434.0
08-09-2011

EVALUATION The ICC_Profile.setData() now throws IAE if supplied tag data does not conform the ICC spec. This change had been made as part of fix for CR 7042594 and was integrated into b145. This particular test was designed in pre-b145 time, and it utilizes the fact that setData() method allowed to inject malformed data into a profile. Now the test fails, because malformed data are rejected. The test need to be modified in order to report success if IAE is thrown: it indicates that malformed data was successfully identified and rejected, and does not cause any harm to underlying CMM module. Because this is just a test bug, I am decreasing it's priority to P3.
01-07-2011