Hi all,
This commit modifies my previous one to ignore ClassNotFoundException
rather than Throwable, as suggested by Archie and Jeroen.
Cheers,
Gary
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.6092
diff -u -r1.6092 ChangeLog
--- ChangeLog 16 Jan 2006 20:43:20 -0000 1.6092
+++ ChangeLog 17 Jan 2006 10:25:21 -0000
@@ -1,3 +1,8 @@
+2006-01-17 Gary Benson <[EMAIL PROTECTED]>
+
+ * java/lang/System.java (setSecurityManager): Catch
+ ClassNotFoundException not Throwable.
+
2006-01-16 Anthony Green <[EMAIL PROTECTED]>
PR classpath/25803
Index: java/lang/System.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/System.java,v
retrieving revision 1.54
diff -u -r1.54 System.java
--- java/lang/System.java 16 Jan 2006 09:53:31 -0000 1.54
+++ java/lang/System.java 17 Jan 2006 10:25:21 -0000
@@ -190,7 +190,7 @@
{
Class.forName("java.security.Security");
}
- catch (Throwable t)
+ catch (ClassNotFoundException e)
{
}
}
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches