JDK-7043064 : sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-09
  • Updated: 2018-03-21
  • Resolved: 2013-09-04
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 8 Other
8 b108Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
See comments

Comments
ReadWriteProfile test need to be upgraded to correctly compare tag data.
26-08-2013

Test failures, mentioned here were resolved as a part of the fix for 8016150. The only exception is ReadWriteProfileTest. This test relies on an assumption, that we read a data for a tag in the exactly same form as it was written. However, this assumption is not correct in case of lcms, because this library may perform some sort of modifications on the tag data. For example, plain text tags can be promoted to multilinguage tags, color points can be normalized and etc. To get this test working, we ether have to upgrade the tag comparison routines in the test, or force "as is" tag injection in lcms. The second option seems to be a bit dangerous to me because it potentially open doors for an injection of malformed tags into a profile.
26-08-2013

EVALUATION sun/java2d/cmm/ColorConvertOp/ColConvDCMTest.java This test compares a conversion results with golden images, that does not work in case of openjdk, due to different set of color profiles. sun/java2d/cmm/ColorConvertOp/MTSafetyTest.java this test likely fails due to an attempt to use PYCC profile in image conversion. Existing PYCC profile in openjdk is incorrect and need to be replaced. sun/java2d/cmm/ProfileOp/ReadWriteProfileTest.java This test tries to set an byte array filled with zero as a tag content, and it makes this test incorrect.
27-05-2011

EVALUATION > java.awt.color.CMMException: Can not write tag data. > at sun.java2d.cmm.lcms.LCMS.setTagData(Native Method) > at java.awt.color.ICC_Profile.setData(ICC_Profile.java:1400) This is the same problem as the TCK failures reported in 7042594: 3 testis api/java_awt/Color/ICC_ProfileRGB/index.html
09-05-2011