Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-18 Thread Andrea Aime
On Sun, Apr 12, 2015 at 11:15 PM, Ben Caradoc-Davies wrote: > Not sure what to make of this, maybe we should just try to detect openjdk7 >> and disable the test? >> > > We could. But does this mean YCbCr conversions using toCIEXYZ are broken > on this platform since the JAI-EXT merge? Is this a s

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-12 Thread Ben Caradoc-Davies
Thanks, Chris. That could explain why openjdk8 works fine: changes to the 8 series got it to work with LCMS 2.6, but changes to LCMS 2.6 inadvertently broke openjdk7, which lacks some JDK changes in the vicinity of ICC_Profile. In particular, there appears to have been a significant refactoring

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-12 Thread Ben Caradoc-Davies
On 12/04/15 19:03, Andrea Aime wrote: > Right, managed to reproduce on my Linux mint using openjdk7 as well. > Apparently it's a bug in lcms itself, or so think the Ubuntu maintainers: > https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434 Aha! I recall that, when I made a standalone te

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-12 Thread Chris Bennight
Oracle JDK 8 moves to LittleCMS as well (they used a Kodak CMS prior to that) ref on the update: http://bugs.java.com/view_bug.do?bug_id=8056122 and looks like it was updated in 8u40: http://www.oracle.com/technetwork/java/javase/2col/8u40-bugfixes-2423829.html - so if it worked for Ben on 8u40 it'

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-12 Thread Andrea Aime
On Sat, Apr 11, 2015 at 10:13 PM, Ben Caradoc-Davies wrote: > > care to venture a guess on how common it is to have this one installed? >> > > Andrea, 100% for openjdk on Debian and Ubuntu. > > liblcms2-2 is a mandatory dependency of openjdk7 on Debian and Ubuntu. The > only question is which ve

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-11 Thread Ben Caradoc-Davies
Thanks, Jody. I will try it. On 11/04/15 18:20, Jody Garnett wrote: > Jira works for new issues. -- Ben Caradoc-Davies Director Transient Software Limited New Zealand -- BPM Camp - Free Virtual Wo

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-11 Thread Ben Caradoc-Davies
On 11/04/15 18:15, Andrea Aime wrote: > PS: first time I hear of this package, Me too. > care to venture a guess on how common it is to have this one installed? Andrea, 100% for openjdk on Debian and Ubuntu. liblcms2-2 is a mandatory dependency of openjdk7 on Debian and Ubuntu. The only questi

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-10 Thread Jody Garnett
Jira works for new issues. On Fri, Apr 10, 2015 at 11:16 PM Andrea Aime wrote: > Hi Ben, > trying to understand this one better. It seems that LCMS is a color > management package of sorts, > and that seems to alter the way the JVM works with color profiles? > http://www.littlecms.com/ > > Here i

Re: [Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-10 Thread Andrea Aime
Hi Ben, trying to understand this one better. It seems that LCMS is a color management package of sorts, and that seems to alter the way the JVM works with color profiles? http://www.littlecms.com/ Here is the relevant part of the stack trace: at org.apache.maven.surefire.junit4.JUnit4Provider.ex

[Geotools-devel] JAI-EXT-related failure of gt-coverage ImageWorkerTest.testYCbCr with LCMS 2.6

2015-04-10 Thread Ben Caradoc-Davies
[Email in lieu of a known working Jira] Since the JAI-EXT merge, gt-coverage ImageWorkerTest.testYCbCr on master fails when using LCMS 2.6. LCMS (Little CMS) is the native PCMS implementation used by the JVM on Linux, implemented in liblcms2.so.2 and provided on Debian and Ubuntu by the pack