[OpenJDK 2D-Dev] Missing com/sun/image/codec/jpeg/ classes in openJDK7

Phil Race philip.race at oracle.com
Wed Jun 26 23:09:22 UTC 2013

I do not know in which JDK 6 it was you saw these files but I doubt it 
was an OpenJDK.
These files are closed source, so could not be in OpenJDK and in any case
are not part of the Java SE spec.
If you need these classes you will need to use an Oracle JDK download, 
their use has been discouraged since Image I/O was added in JDK 1.4 over 
10 years ago.


On 6/26/2013 3:05 PM, John Wolfe wrote:
> I was evaluating the OpenJDK 7 on a FreeBSD 9.1 system and was 
> surprised to discover that all the JPEG encoded/decode classes in:
>     com/sun/image/codec/jpeg
>     sun/awt/image/codec
> are absent from the rt.jar.   These missing 12 classes are part of the 
> OpenJDK 6 source release.
> What is the reasoning for their absence?     This seems to break 
> forward compatibility?
> -- John Wolfe        Xinuos, Inc.

More information about the 2d-dev mailing list