Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.1
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:* Searching for icedtea ...
[I-O] [ ] dev-java/icedtea-6.1.9.1:6
-
Assignee Priority:P1
Description
The ICEpdf lib uses a intenal class from sun's internl function
...
[javac] JPEGImageDecoder imageDecoder = JPEGCodec.createJPEGDecoder(bufferedInput);
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:600: warning: com.sun.image.codec.jpeg.JPEGCodec is internal proprietary API and may be removed in a future release
[javac] JPEGImageDecoder imageDecoder = JPEGCodec.createJPEGDecoder(bufferedInput);
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:659: cannot find symbol
[javac] symbol : method getEncodedColorID()
[javac] location: interface com.sun.image.codec.jpeg.JPEGDecodeParam
[javac] if (imageDecoder.getJPEGDecodeParam().getEncodedColorID() ==
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:660: warning: com.sun.image.codec.jpeg.JPEGDecodeParam is internal proprietary API and may be removed in a future release
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_ID_YCbCrA) {
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/util/ImageCache.java:213: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is internal proprietary API and may be removed in a future release
....
...
[javac] JPEGImageDecoder imageDecoder = JPEGCodec.createJPEGDecoder(bufferedInput);
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:600: warning: com.sun.image.codec.jpeg.JPEGCodec is internal proprietary API and may be removed in a future release
[javac] JPEGImageDecoder imageDecoder = JPEGCodec.createJPEGDecoder(bufferedInput);
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:659: cannot find symbol
[javac] symbol : method getEncodedColorID()
[javac] location: interface com.sun.image.codec.jpeg.JPEGDecodeParam
[javac] if (imageDecoder.getJPEGDecodeParam().getEncodedColorID() ==
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/pobjects/Stream.java:660: warning: com.sun.image.codec.jpeg.JPEGDecodeParam is internal proprietary API and may be removed in a future release
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_ID_YCbCrA) {
[javac] ^
[javac] /var/tmp/portage/dev-java/ICEpdf-4.1.1/work/ICEpdf-4.1.1-src/icepdf/core/src/org/icepdf/core/util/ImageCache.java:213: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is internal proprietary API and may be removed in a future release
....
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
On the the Sun JDK this is normally just a warning messages. Are you getting an error when compiling with the Open JDK?
Show
Patrick Corless
added a comment - On the the Sun JDK this is normally just a warning messages. Are you getting an error when compiling with the Open JDK?
The use of com.sun.image.codec.jpeg.JPEGCodec has been removed from the main imaging code stream. It should no be possible to compile ICEpdf with icedtea and run ICEpdf with improved image rendering.