Hi,

As reported on the GNU Classpath mailinglist Eclipse (2) doesn't start
up anymore under kaffe since the URLClassLoader now calls
super.setSigners() for classes loaded from signed jar files.

For people that want to play with this anyway it would be nice to change
the exception into a warning message:

2004-11-13  Mark Wielaard  <[EMAIL PROTECTED]>

        * libraries/javalib/java/lang/ClassLoader.java
        (setSigners): Print warning.

With this Eclipse 2.1 starts again, but is not completely usable, while
printing lots of warning messages... (an alternative would be to
actually implement setSigners() by adopting the GNU Classpath
ClassLoader implementation).

Cheers,

Mark
Index: libraries/javalib/java/lang/ClassLoader.java
===================================================================
RCS file: /cvs/kaffe/kaffe/libraries/javalib/java/lang/ClassLoader.java,v
retrieving revision 1.32
diff -u -r1.32 ClassLoader.java
--- libraries/javalib/java/lang/ClassLoader.java	22 Mar 2004 11:24:46 -0000	1.32
+++ libraries/javalib/java/lang/ClassLoader.java	13 Nov 2004 21:02:07 -0000
@@ -202,8 +202,7 @@
 }
 
 protected final void setSigners(Class cl, Object signers[]) {
-	throw new kaffe.util.NotImplemented(getClass().getName()
-		+ ".setSigners()");
+	System.err.println("WARNING: ClassLoader.setSigners() not implemented");
 }
 
 protected final Class findLoadedClass(String name) {

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to