openjdk/icedtea: com.sun.image.codec.jpeg package

Roberto Mannai robermann at gmail.com
Sat Aug 2 04:39:37 PDT 2008


Hi all
Does anyone know what is the "com.sun.image.codec.jpeg." package destiny?

As far I understand, in openjdk 6 it is handled with a patch:
 http://icedtea.classpath.org/hg/icedtea/file/0fd2fbf0dfd0/patches/icedtea-jpegclasses.patch
 (but fails in not adding the setJPEGEncodeParam method)
   [javac] /root/.eclipse/CodeSounding/java2Demo/srcRewritten/java2d/demos/Images/JPEGFlip.java:113:
cannot find symbol
   [javac] symbol  : method
setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
   [javac] location: class com.sun.image.codec.jpeg.JPEGImageEncoder
   [javac]             encoder.setJPEGEncodeParam(param);
   [javac]                    ^


In icedtea 7 it is totally missing:
   [javac] /root/.eclipse/CodeSounding/java2Demo/srcRewritten/java2d/demos/Images/JPEGFlip.java:44:
package com.sun.image.codec.jpeg does not exist
   [javac] import com.sun.image.codec.jpeg.*;
   [javac] ^

Best regards
Roberto Mannai



More information about the distro-pkg-dev mailing list