This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/9351] Cannot compile kaffe core classes (foreign java.lang.Object)
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2003 20:26:22 -0000
- Subject: [Bug java/9351] Cannot compile kaffe core classes (foreign java.lang.Object)
- References: <20030117054600.9351.mark@klomp.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9351
------- Additional Comments From mark@gcc.gnu.org 2003-06-05 20:26 -------
Just checked gcj 3.3 against the CVS version of kaffe (pre 1.1).
$ JAVAC_FLAGS="-C" make Klasses
make[1]: Entering directory `/home/mark/src/kaffe/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from @essential.files using /usr/local/gcc33/bin/gcj
./java/lang/ClassNotFoundException.java:52: error: Class
`java.lang.ClassNotFoundException' already defined in
java/lang/ClassNotFoundException.java:52.
public class ClassNotFoundException extends Exception
^
./java/lang/ClassNotFoundException.java:72: confused by earlier errors, bailing out
make[1]: *** [lib/stamp] Error 1
make[1]: Leaving directory `/home/mark/src/kaffe/libraries/javalib'
make: *** [Klasses] Error 2
This is because gcj gets confused about java/lang/ClassNotFoundException.java
and ./java/lang/ClassNotFoundException.java (note the ./ in front of the second
instance).
Changing all files in essential.files to have ./ added in front of them resolves
this issue. But brings back the original problem report.
Should this bug really be suspended? It might not have very high priority at the
moment, but it would be nice to be able to use gcj for compiling the kaffe core
classes (Kaffe is slowly merging with GNU Classpath, just like gcj).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.