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