This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: SocketPermission fixlet
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: FYI: SocketPermission fixlet
- From: Tom Tromey <tromey at redhat dot com>
- Date: 15 Oct 2001 10:48:23 -0600
- Reply-To: tromey at redhat dot com
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