Compiler Bug

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Fred

Compiler Bug

Post by Fred » Fri Jun 14, 2002 4:27 am

Hi All

Need your Help!

When I issured the command as following to compile the demo file,
error message occurs as below.

Can someone give me some idea about this?

Command
==========
c:\JFreeChart>javac -classpath .;..\jars\jcommon-0.6.2.jar com\jrefinery\chart\demo\JFreeChartDemo.java

Error
==========
A Exception has occured in the compiler (1.4.0). Please file a bug at the Java Developer Connection
(http://java.sun.com/cgi-bin/bugreport.cgi) after checing the Bug Parade for duplicates.
Include your porgram and the following diagnostic in your report. Thank you.
java.lang.StringIndexOutOfBoundsException: String index out of range: -32
at java.lang.String.Chartat(Unknown Source)
at sun.io.ByteToCharMS950.getUnicode(ByteToCharMS950.java:39)
...........................................................

Fred

Re: Compiler Bug

Post by Fred » Mon Jun 17, 2002 12:17 pm

Hi All

I've downloaded 0.9.1 and compile it with ant script.

The same error still appear.

Do I miss something? Please help me?

David Gilbert

Re: Compiler Bug

Post by David Gilbert » Mon Jun 17, 2002 5:45 pm

What compiler are you using? The source compiles fine for me using IBM's JDK1.3 on Linux.

Regards,

DG.

Fred

Re: Compiler Bug

Post by Fred » Thu Jun 20, 2002 5:51 am

Hi David

I'm using Sun j2sdk1.4.0 in Windows NT 4.0 workstation SP6.

Maybe I should try other version to see if is works!

Thanks !

Regards

Fred

Locked