No subject


Tue Jan 22 12:20:42 PST 2008


in some other pre-compiled class files during the compilation...
I don't get any "[loading lib/java ..." lines during my compilation.

Perhaps you have Sun's classes lying around and they're interfering somehow?
This "mixing" could explain the strange error you're seeing.

However, "make classes JAVAC='kaffe gjc.Main -1.1'" still fails.
Two changes are necessary to make it succeed:

 1. Remove kaffe/util/Assert.java (nobody uses it)
 2. Apply this patch to java/io/FileInputStream.java:

Index: FileInputStream.java
===================================================================
RCS file: /cvs/mod/net/kaffe/libraries/javalib/java/io/FileInputStream.java,v
retrieving revision 1.1.1.1.2.1
diff -c -u -r1.1.1.1.2.1 FileInputStream.java
--- FileInputStream.java	1998/07/28 02:00:50	1.1.1.1.2.1
+++ FileInputStream.java	1998/08/24 18:18:07
@@ -49,7 +49,7 @@
 	return fd;
 }
 
-native private void open(String name);
+native private void open(String name) throws IOException;
 
 native public int read() throws IOException;
 

I haven't tried using Jikes yet.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list