Bug 49898 - com.sun dependencies on decoders make batik not portable between JDKs
Summary: com.sun dependencies on decoders make batik not portable between JDKs
Status: RESOLVED DUPLICATE of bug 46513
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVG Rasterizer (show other bugs)
Version: 1.7
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 10:51 UTC by Rafał Rusin
Modified: 2010-09-08 13:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Rusin 2010-09-08 10:51:12 UTC
Those files import com.sun, which is not portable.

./jpeg/JPEGRegistryEntry.java
./jpeg/JPEGImageWriter.java
./tiff/TIFFImageDecoder.java
./tiff/TIFFLZWDecoder.java
./tiff/TIFFDecodeParam.java
./tiff/TIFFFaxDecoder.java
./tiff/TIFFRegistryEntry.java
./tiff/TIFFDirectory.java
./tiff/TIFFEncodeParam.java
./tiff/TIFFImage.java
./tiff/TIFFTranscoderInternalCodecWriteAdapter.java
./tiff/TIFFImageEncoder.java
./tiff/TIFFField.java

Batik compilation fails on OSGi platform, because of illegal dependency on rt.jar.

Regards
Comment 1 Helder Magalhães 2010-09-08 13:40:44 UTC
Work for this is underway, a few subtle things still to be worked. Help is welcome, as always!

See also a tightly related message on general@:

http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/201009.mbox/%3C20100902133410.961B.60BA733C@jeremias-maerki.ch%3E

*** This bug has been marked as a duplicate of bug 46513 ***