[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Patch: FYI: SecurityManager
From: |
Tom Tromey |
Subject: |
[cp-patches] [generics] Patch: FYI: SecurityManager |
Date: |
09 Oct 2004 17:12:52 -0600 |
A trivial patch to update SecurityManager to 1.5.
The status says this class is missing 1.4 functionality.
I didn't verify that, so I left this line alone.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* java/lang/SecurityManager.java (currentLoadedClass): Updated
return type.
Index: java/lang/SecurityManager.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/SecurityManager.java,v
retrieving revision 1.20
diff -u -r1.20 SecurityManager.java
--- java/lang/SecurityManager.java 4 Jun 2004 06:17:34 -0000 1.20
+++ java/lang/SecurityManager.java 9 Oct 2004 23:15:36 -0000
@@ -1,5 +1,5 @@
/* SecurityManager.java -- security checks for privileged actions
- Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -211,7 +211,7 @@
* @return the most recent non-system Class on the execution stack
* @deprecated use address@hidden #checkPermission(Permission)} instead
*/
- protected Class currentLoadedClass()
+ protected Class<?> currentLoadedClass()
{
int i = classLoaderDepth();
return i >= 0 ? getClassContext()[i] : null;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Patch: FYI: SecurityManager,
Tom Tromey <=