You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/07/27 16:32:18 UTC

[jira] Resolved: (HARMONY-4509) [classlib][awt] ICC color transformation does not work

     [ https://issues.apache.org/jira/browse/HARMONY-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov resolved HARMONY-4509.
--------------------------------------

    Resolution: Fixed

Andrey,  I've applied a patch for test at the revision 560243. However, I've tweaked the test a little bit before  commit. In test you were testing "PYCC" profile among others. However, a patch for HARMONY-4381 doesn't provide one. This way, we need either generate this profile too or doesn't test it. I've put a TODO comment in the test code.

> [classlib][awt] ICC color transformation does not work
> ------------------------------------------------------
>
>                 Key: HARMONY-4509
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4509
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexei Zakharov
>         Attachments: HARMONY-4509-cmmio.patch, HARMONY-4509-ICC_TransformRTest.patch
>
>
> The following test case fails with java.awt.color.CMMException: Can't create ICC transform:
>        public void test() {
> 		new ICC_Transform(new ICC_Profile[] {
> 				ICC_Profile.getInstance(ColorSpace.CS_sRGB),
> 				ICC_Profile.getInstance(ColorSpace.CS_GRAY) });
> 	}
> Stack: java.awt.color.CMMException: Can't create ICC transform
> 	at org.apache.harmony.awt.gl.color.NativeCMM.cmmCreateMultiprofileTransform(NativeCMM.java)
> 	at org.apache.harmony.awt.gl.color.ICC_Transform.<init>(ICC_Transform.java:131)
> Note: to reproduce this issue the system property "java.iccprofile.path" should point to a directory with sRGB and GRAY profiles. See HARMONY-4381.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.