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

Casey Marshall csm at gnu.org
Sun Nov 14 11:40:29 PST 2004


>>>>> "Mark" == Mark Wielaard <mark at klomp.org> writes:

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

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

Mark> 2004-11-13  Mark Wielaard  <mark at klomp.org>

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

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

Or, why not implement Class.getSigners and Class.setSigners?

-- 
Casey Marshall || csm at gnu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setSigners.patch
Type: text/x-patch
Size: 3027 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20041114/cc23c30b/setSigners.bin


More information about the kaffe mailing list