myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: A problem when build myfaces from scratch
Date Fri, 06 Mar 2015 13:14:01 GMT
Yes, please open a JIRA issue and submit a patch that replaces
com.sun.image.codec.jpeg with ImageIO

On Fri, Mar 6, 2015 at 8:03 AM, Samolisov Pavel <samolisov@gmail.com> wrote:
> Hello team.
>
> I tried to build myfaces from scratch and have got a problem:
> tomahawk/sandbox/examples does not compile with Java 8 because it uses the
> com.sun.image.codec.jpeg package thet is deprecated.
>
> I fixed this error by adding
>
>                 <!-- TODO: This fixed the com.sun.image.codec.jpeg
> deprecation but a better solution is exclude the package from code -->
>                 <compilerArgument>-XDignore.symbol.file</compilerArgument>
>
> into the maven-compiler-plugin plugin config, but it is better to exclude
> using the package. I read on StackOverflow that ImageIO works slowly then
> the c.s.i.codec.jpeg package, what do you think about it?

Mime
View raw message