harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r409747 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java
Date Fri, 26 May 2006 20:59:01 GMT
Author: tellison
Date: Fri May 26 13:59:00 2006
New Revision: 409747

URL: http://svn.apache.org/viewvc?rev=409747&view=rev
Log:
Generics uplift for SecurityManager

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java?rev=409747&r1=409746&r2=409747&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/SecurityManager.java
Fri May 26 13:59:00 2006
@@ -231,7 +231,7 @@
 	 * @param type
 	 *            Either java.lang.reflect.Member.PUBLIC or DECLARED
 	 */
-	public void checkMemberAccess(Class cls, int type) {
+	public void checkMemberAccess(Class<?> cls, int type) {
 		if (cls == null)
 			throw new NullPointerException();
 		if (type == Member.PUBLIC)
@@ -605,7 +605,7 @@
 	 * 
 	 * @deprecated Use checkPermission
 	 */
-	protected Class currentLoadedClass() {
+	protected Class<?> currentLoadedClass() {
 		// First, check if AllPermission is allowed. If so, then we
 		// are effectively running in an unsafe environment, so just
 		// answer null (==> everything is a system class).



Mime
View raw message