Patch to avoid using old Klasses.jar

Pavel Roskin pavel_roskin at
Wed Jun 2 00:18:35 PDT 1999


The attached patch prevents using the existing Klasses.jar while
compliling java classes with jikes.

Changes in the java code can make new sources incompatible with the new
code. The sources should be compatible with each other, and not with their
older versions. That's why it is important to compile Klasses.jar from

By the way, I would prefer to have Klasses.jar and pizza.jar outside the
repository. It takes too much time to update Klasses.jar via a dial-up
link. It could be available separately (from the homepage or from a
separate CVS module). Then both people with slow connection and people
with slow machines will be happy.

What about pizza, it is not the best java compiler for work with Kaffe,
and it is not GPL'ed. Even Jikes is "politically" better, since its
sources are available.

Pavel Roskin
-------------- next part --------------
Index: libraries/javalib/
RCS file: /home/cvspublic/kaffe/libraries/javalib/,v
retrieving revision 1.12
diff -u -r1.12
---	1999/04/08 00:00:17	1.12
+++	1999/06/02 07:03:36
@@ -36,13 +36,13 @@
 	if [ -z "$JAVAC" ]; then
 		JAVAC="$JAVA pizza.compiler.Main"
+	CPATH="-classpath $LIBDIR${CPATH+:$CPATH}"
-	CPATH="$LIBDIR${CPATH+:$CPATH}:Klasses.jar"
+	# CPATH is not needed for jikes
 echo "Compiling classes ..."
-$JAVAC -verbose -d $LIBDIR -classpath $CPATH ${1+"$@"}
+$JAVAC -verbose -d $LIBDIR $CPATH ${1+"$@"}

More information about the kaffe mailing list