harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-4509) [classlib][awt] ICC color transformation does not work
Date Fri, 27 Jul 2007 14:32:18 GMT

     [ 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.

View raw message