Bug#594270: libjcharts-java should depend on javaX-runtime

Onkar Shinde onkarshinde at ubuntu.com
Wed Aug 25 19:04:46 UTC 2010


A look at the source tells me that there is only one file using Sun
specific APIs - src/org/jCharts/encoders/JPEGEncoder13.java. Also it
looks like this file has been superseeded by
src/org/jCharts/encoders/JPEGEncoder.java which uses java standard
APIs. So it makes sense to not compile JPEGEncoder13.java file.

Other files referring to JPEGEncoder13.java are
1. src/org/jCharts/test/ChartTestDriver.java - tests the encoding
using JPEGEncoder13.
2. src/org/jCharts/encoders/ServletEncoderHelper.java - provides an
API to be used by servlets/jsps using JPEGEncoder13.
It should be easy to patch the sources to exclude these sources.

By the way, we currently do not run tests. Now may be good time to enable them.


Onkar





More information about the pkg-java-maintainers mailing list