Re: Java 9 test failures
So, what can we do about com.sun.image.codec.jpeg that is finally gone in Java 9? BTW, I looked into the package dependencies in Java 8, and com.sun.image.codec.jpeg needs sun.awt.image.codec which in turn has JNI to native libraries. The possible alternatives seem to be using ImageIO/Java 2D or dropping the task completely. Gintas 2018-01-24 8:55 GMT+01:00 Gintautas Grigelionis : > Sorry about the confusion, JBoss repository provides platform independent > versions. > > Gintas > > 2018-01-24 7:29 GMT+01:00 Gintautas Grigelionis : > >> When I updated the installation manual, I found the "official" JAI >> installation instruction [1]. >> It mentions a platform-specific library, MediaLib [2], provided only for >> Win32, Linux (i586 and amd64) and Solaris. >> >> Gintas >> >> 1. https://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html >> 2. https://en.wikipedia.org/wiki/MediaLib >> >> 2018-01-24 6:41 GMT+01:00 Jaikiran Pai : >> >>> A brief look suggests that there's some underlying exception originating >>> from JAI library. For some reason, this test isn't included in the tests >>> that get run as part of our regular Jenkins builds. I'm not sure if that's >>> intentional, but I haven't looked at the build file in detail to be sure. >>> >>> -Jaikiran >>> >>> >>> >>> On 22/01/18 10:21 AM, Stefan Bodewig wrote: >>> On 2018-01-21, Gintautas Grigelionis wrote: I see three failures in ImageTest > testSimpleScale (did not create largeimage.jpg) > testSimpleScaleWithMapper (did not create largeimage-scaled.jpg) > testOverwriteTrue (negative time) > Could somebody confirm this, please? > They happen for me locally as well, yes. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org >>> >>> - >>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >>> For additional commands, e-mail: dev-h...@ant.apache.org >>> >>> >> >
Re: Java 9 test failures
On 2018-01-29, Gintautas Grigelionis wrote: > So, what can we do about com.sun.image.codec.jpeg that is finally gone in > Java 9? > BTW, I looked into the package dependencies in Java 8, and > com.sun.image.codec.jpeg needs sun.awt.image.codec which in turn has JNI to > native libraries. > The possible alternatives seem to be using ImageIO/Java 2D or dropping the > task completely. Note the tasks don't work with Java9? Rewriting the tasks is certainly an option (but unlikely that we'll make it for the coming release), but IMHO there is no reason to remove the tasks altogether if they work for Java8. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Java 9 test failures
Well, the task wil not work with any future Java releases since the internal APIs are not comming back. Meanwhile, a quick search shows that while there is quite a lot activity with image io, there is no equivalent of JAI.create() for image transformations (on which the image task is based). Maybe something to pitch to Sanselan/Commons Imaging? Gintas 2018-01-29 10:28 GMT+01:00 Stefan Bodewig : > On 2018-01-29, Gintautas Grigelionis wrote: > > > So, what can we do about com.sun.image.codec.jpeg that is finally gone in > > Java 9? > > BTW, I looked into the package dependencies in Java 8, and > > com.sun.image.codec.jpeg needs sun.awt.image.codec which in turn has JNI > to > > native libraries. > > The possible alternatives seem to be using ImageIO/Java 2D or dropping > the > > task completely. > > Note the tasks don't work with Java9? > > Rewriting the tasks is certainly an option (but unlikely that we'll make > it for the coming release), but IMHO there is no reason to remove the > tasks altogether if they work for Java8. > > Stefan > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > >
AW: Java 9 test failures
> Well, the task wil not work with any future Java releases since the > internal APIs are not comming back. > > Meanwhile, a quick search shows that while there is quite a lot > activity with image io, there is no equivalent of JAI.create() for > image transformations (on which the image task is based). Maybe > something to pitch to Sanselan/Commons Imaging? I would prefer Apache Commons in a new antlib. But on the other hand: do we know if the task is used? Jan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Java 9 test failures
On 2018-01-29, Jan Matèrne (jhm) wrote: >> Well, the task wil not work with any future Java releases since the >> internal APIs are not comming back. >> Meanwhile, a quick search shows that while there is quite a lot >> activity with image io, there is no equivalent of JAI.create() for >> image transformations (on which the image task is based). Maybe >> something to pitch to Sanselan/Commons Imaging? > I would prefer Apache Commons in a new antlib. Commons Inmaging isn't the most active component ... A separate Antlib sounds good to me. > But on the other hand: do we know if the task is used? At least we haven't received any bug reports about it. If it still has users then they don't seem to be using Java9+. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org