From: Nathaniel G. A. <nat...@ya...> - 2003-04-18 12:09:32
|
Yeah, we should remove these and keep the src runnable under 1.3 There is code in there which requires 1.4.x to compile though. The image encoders use jdk 1.4.x specific code. But you can still run with 1.2 or 1.3 if you use the xxx13 encoder. --- Vikram Rajan <vr...@st...> wrote: > There are portions of code which are dependent on JDK 1.4 but have not been documented in the > javadocs. I found this when I was implementing the unfinished usePercentSigns in the AxisChart > class. > > The places in the code which I found to be 1.4 dependent are: > > Legend.java (line 238) - Boolean.valueOf(boolean) is not implemented in JDK 1.3 > ------------ this.fillPointsFlags.add( Boolean.valueOf( pointChartProperties.getFillPointsFlag( > i ) ) ); > > ChartDataException.java (line 53) - The Exception constructor used is specific to JDK 1.4 > ------------ super( message, throwable ); > > BarChartProperties.java (line 102) - Boolean.toString() is not implemented in jdk 1.3 > ------------ htmlGenerator.addTableRow( "Show Outlines", Boolean.toString( this.showOutlines ) > ); > > I think these should be documented as such. If possible be changed to be JDK 1.3 compatible. All > of these can be changed slightly make them so (except the ChartDataException constructor, I dont > know how critical constructing an exception in that fashion is). > > - Vikram ===== __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |