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, however their use has been discouraged since Image I/O was added in JDK 1.4 over 10 years ago.

-phil.

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.



Reply via email to