From: Vikram R. <vr...@st...> - 2003-04-18 15:39:33
|
yes, I am aware of the encoders dependency on 1.4 which is fine really. Do you have a concrete plan to make the source 1.3 compatible. Some timelines would be helpful. In the meanwhile, can I just go ahead and make changes in the source and use it for my purpose? Are there any do's and dont's there? I can mail the changes to the developers list if required. Also, I think it would be a nice idea to create two separate build targets - one for JDK 1.3 and one for JDK 1.4. If resources are a problem, let me know how I can help out the project team on this one. I like jCharts and I would like to contribute my two cents to it. thanks, Vikram ----- Original Message ----- From: "Nathaniel G. Auvil" <nat...@ya...> To: "Vikram Rajan" <vr...@st...>; "jCharts User List" <jch...@li...> Cc: "Developers jCharts" <jch...@li...> Sent: Friday, April 18, 2003 6:09 AM Subject: Re: [jCharts-users] Dependency on JDK 1.4 > > 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 > |