From f1bd29ac39dba48238f11f9256bc46fd4a822b8e Mon Sep 17 00:00:00 2001 From: tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat, 6 Nov 2004 23:11:47 +0000 Subject: [PATCH] * java/security/Permissions.java (perms): Now package-private. * java/security/UnresolvedPermission.java (permissions): Now package-private. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90202 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 6 ++++++ libjava/java/security/Permissions.java | 3 ++- libjava/java/security/UnresolvedPermission.java | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7de8b5cbfbba..2fa28a3a5151 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-11-06 Tom Tromey <tromey@redhat.com> + + * java/security/Permissions.java (perms): Now package-private. + * java/security/UnresolvedPermission.java (permissions): Now + package-private. + 2004-11-06 Tom Tromey <tromey@redhat.com> * java/io/FilePermission.java: Reindented. diff --git a/libjava/java/security/Permissions.java b/libjava/java/security/Permissions.java index cf3fc16bf41f..d44341c947ac 100644 --- a/libjava/java/security/Permissions.java +++ b/libjava/java/security/Permissions.java @@ -72,12 +72,13 @@ public final class Permissions extends PermissionCollection */ private PermissionCollection allPermission; + // Package-private to avoid a trampoline. /** * This is the <code>Hashtable</code> that contains our collections. * * @serial maps Class to PermissionCollection */ - private final Hashtable perms = new Hashtable(); + final Hashtable perms = new Hashtable(); /** * This method initializes a new instance of <code>Permissions</code>. diff --git a/libjava/java/security/UnresolvedPermission.java b/libjava/java/security/UnresolvedPermission.java index 8a7b7036099f..c96bce0cc14c 100644 --- a/libjava/java/security/UnresolvedPermission.java +++ b/libjava/java/security/UnresolvedPermission.java @@ -216,13 +216,14 @@ class UnresolvedPermissionCollection extends PermissionCollection */ private static final long serialVersionUID = -7176153071733132400L; + // Package-private to avoid a trampoline. /** * Hashtable where we store permissions. * * @serial map of typename to a Vector of permissions (you'd think Sun * would document this better!) */ - private final Hashtable permissions = new Hashtable(); + final Hashtable permissions = new Hashtable(); /** * Add a permission. -- GitLab