com.sun.image.codec.jpeg.* classes missing from bin plugs and open sources

Joe Darcy Joe.Darcy at Sun.COM
Mon Mar 3 20:19:43 PST 2008


Dan Munckton wrote:
> Hi
>
> I've discovered (because an app I'm maintaining seems to be using
> JPEGCodec and JPEGImageEncoder) that the classes under
> com.sun.image.codec.jpeg.* are missing from the OpenJDK 6 & 7 builds.
>
> They're not in the sources nor in the binary plugs. Googling I find that
> stubs have been implemented in the IcedTea sources.
>
> Can anyone explain what the situation is with these classes? Should they
> be in the bin plugs or are they on the way out completely?
>
> Cheers
>
> Dan
>
>   

When I compile a class referencing that type on production JDK 6 or 
later, I get a warning:
"warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and 
may be removed in a future release"

So I'd conclude that API has been removed in OpenJDK.

-Joe



More information about the jdk7-dev mailing list