[kaffe] Turn exception into warning message for ClassLoader.setSigners()

Mark Wielaard mark at klomp.org
Sat Nov 13 13:01:55 PST 2004


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  <mark at klomp.org>

        * 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).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ClassLoader.patch
Type: text/x-patch
Size: 729 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041113/1dcff892/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://kaffe.org/pipermail/kaffe/attachments/20041113/1dcff892/attachment-0002.pgp 

More information about the kaffe mailing list