[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: cleanups in reflection

Kaffe CVS cvs-commits at kaffe.org
Fri Oct 15 06:56:46 PDT 2004


PatchSet 5296 
Date: 2004/10/15 13:52:21
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: cleanups in reflection

2004-10-15  Dalibor Topic <robilad at kaffe.org>

        * libraries/javalib/java/lang/reflect/AccessibleObject.java,
        libraries/javalib/java/lang/reflect/ReflectPermission.java:
        Resynced with GNU Classpath.

        2004-10-15  Michael Koch  <konqueror at gmx.de>

        * java/lang/reflect/AccessibleObject.java
        (checkPermission): Removed redundant final modifier.
        (secureSetAccessible): Likewise.
        * java/lang/reflect/ReflectPermission.java:
        Reorder package declaration and import statement.

Members: 
	ChangeLog:1.2848->1.2849 
	libraries/javalib/java/lang/reflect/AccessibleObject.java:1.4->1.5 
	libraries/javalib/java/lang/reflect/ReflectPermission.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2848 kaffe/ChangeLog:1.2849
--- kaffe/ChangeLog:1.2848	Fri Oct 15 13:41:49 2004
+++ kaffe/ChangeLog	Fri Oct 15 13:52:21 2004
@@ -1,5 +1,19 @@
 2004-10-15  Dalibor Topic <robilad at kaffe.org>
 
+	* libraries/javalib/java/lang/reflect/AccessibleObject.java,
+	libraries/javalib/java/lang/reflect/ReflectPermission.java:
+	Resynced with GNU Classpath.
+
+	2004-10-15  Michael Koch  <konqueror at gmx.de>
+
+        * java/lang/reflect/AccessibleObject.java
+        (checkPermission): Removed redundant final modifier.
+        (secureSetAccessible): Likewise.
+        * java/lang/reflect/ReflectPermission.java:
+        Reorder package declaration and import statement.
+
+2004-10-15  Dalibor Topic <robilad at kaffe.org>
+
 	* libraries/javalib/java/nio/ByteOrder.java,
 	libraries/javalib/java/nio/MappedByteBuffer.java,
 	libraries/javalib/java/nio/MappedByteBufferImpl.java,
Index: kaffe/libraries/javalib/java/lang/reflect/AccessibleObject.java
diff -u kaffe/libraries/javalib/java/lang/reflect/AccessibleObject.java:1.4 kaffe/libraries/javalib/java/lang/reflect/AccessibleObject.java:1.5
--- kaffe/libraries/javalib/java/lang/reflect/AccessibleObject.java:1.4	Sat Mar 13 16:27:22 2004
+++ kaffe/libraries/javalib/java/lang/reflect/AccessibleObject.java	Fri Oct 15 13:52:25 2004
@@ -133,7 +133,7 @@
    *
    * @throws SecurityException if permission is denied
    */
-  private static final void checkPermission()
+  private static void checkPermission()
   {
     SecurityManager sm = System.getSecurityManager();
     if (sm != null)
@@ -148,7 +148,7 @@
    * @throws SecurityException if flag is true and this is a constructor
    * for <code>java.lang.Class</code>.
    */
-  private final void secureSetAccessible(boolean flag)
+  private void secureSetAccessible(boolean flag)
   {
     if (flag &&
         (this instanceof Constructor
Index: kaffe/libraries/javalib/java/lang/reflect/ReflectPermission.java
diff -u kaffe/libraries/javalib/java/lang/reflect/ReflectPermission.java:1.2 kaffe/libraries/javalib/java/lang/reflect/ReflectPermission.java:1.3
--- kaffe/libraries/javalib/java/lang/reflect/ReflectPermission.java:1.2	Sat Mar 13 16:27:22 2004
+++ kaffe/libraries/javalib/java/lang/reflect/ReflectPermission.java	Fri Oct 15 13:52:25 2004
@@ -35,14 +35,14 @@
 obligated to do so.  If you do not wish to do so, delete this
 exception statement from your version. */
 
+package java.lang.reflect;
+
+import java.security.BasicPermission;
+
 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
  * "The Java Language Specification", ISBN 0-201-63451-1
  * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
  */
-
-package java.lang.reflect;
-
-import java.security.BasicPermission;
 
 /**
  * This class implements permissions for reflection.  This is a named




More information about the kaffe mailing list