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]

Patch: FYI: SocketPermission fixlet


I'm checking this in.
It fixes a spec compliance bug in SocketPermission.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* java/net/SocketPermission.java (hostport, actions): Now
	private.

Index: java/net/SocketPermission.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/SocketPermission.java,v
retrieving revision 1.1
diff -u -r1.1 SocketPermission.java
--- java/net/SocketPermission.java 2001/04/25 15:45:14 1.1
+++ java/net/SocketPermission.java 2001/10/15 16:31:04
@@ -1,5 +1,5 @@
 /* SocketPermission.java -- Class modeling permissions for socket operations
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -95,12 +95,12 @@
   /**
    * A hostname/port combination as described above
    */
-  protected transient String hostport;
+  private transient String hostport;
 
   /**
    * A comma separated list of actions for which we have permission
    */
-  protected String actions;
+  private String actions;
 
   /**
    * Initializes a new instance of <code>SocketPermission</code> with the 


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