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] Commented: (HARMONY-4509) [classlib][awt] ICC color transformation does not work
Date Tue, 24 Jul 2007 17:27:31 GMT

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

Alexei Zakharov commented on HARMONY-4509:

Thanks Andrey, I've tested your new patch both on Windows and Linux - everything works ok.
So I've committed HARMONY-4509-cmmio.patch at the revision  559115. Please verify. However,
I've not committed the patch for test since it fails if no valid color profiles path is specified.
And I leave this issue open for now. Let's wait until HARMONY-4381 is fixed. 

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