Bug 53328 - TestCase testICCProfiles fails with OpenJDK or Oracle Java7
Summary: TestCase testICCProfiles fails with OpenJDK or Oracle Java7
Status: NEW
Alias: None
Product: XMLGraphicsCommons - Now in Jira
Classification: Unclassified
Component: image codecs (show other bugs)
Version: Trunk
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: --
Assignee: XML Graphics Project Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 09:31 UTC by James Page
Modified: 2012-05-30 09:31 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Page 2012-05-30 09:31:28 UTC
Building trunk with OpenJDK or Oracle Java 7 fails with the following test failure:

    [junit] Testcase: testICCProfiles(org.apache.xmlgraphics.image.loader.ImageLoaderTestCase):	FAILED
    [junit] Embedded ICC Profiles are not the same size! expected:<632> but was:<912>
    [junit] junit.framework.AssertionFailedError: Embedded ICC Profiles are not the same size! expected:<632> but was:<912>
    [junit] 	at org.apache.xmlgraphics.image.loader.ImageLoaderTestCase.testICCProfiles(ImageLoaderTestCase.java:176)

This test case passes on openjdk-6.

OS: Ubuntu 12.04
Java SDK: openjdk-7 or oracle-java-7 (makes no difference).