This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: fix typo in java.io.ObjectInputStream (libgcj/10838)


Committed as obvious.  I'll post a patch for classpath as well.


2003-05-22	Jeff Sturm	<jsturm@one-point.com>

	PR libgcj/10838:
	* java/io/ObjectInputStream (enableResolveObject):
	Fixed spelling of permission name.

Index: java/io/ObjectInputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/ObjectInputStream.java,v
retrieving revision 1.17
diff -u -p -r1.17 ObjectInputStream.java
--- java/io/ObjectInputStream.java	24 Mar 2003 08:27:28 -0000	1.17
+++ java/io/ObjectInputStream.java	23 May 2003 03:06:08 -0000
@@ -614,7 +614,7 @@ public class ObjectInputStream extends I
       {
 	SecurityManager sm = System.getSecurityManager ();
 	if (sm != null)
-	  sm.checkPermission (new SerializablePermission ("enableSubtitution"));
+	  sm.checkPermission (new SerializablePermission ("enableSubstitution"));
       }

     boolean old_val = this.resolveEnabled;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]