aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2004-11-06 23:29:12 +0000
committerTom Tromey <tromey@gcc.gnu.org>2004-11-06 23:29:12 +0000
commitab6036c8fb201ae9e50c0fc442606feea30988fe (patch)
tree074fbee68ff2e321955d1c4361de8abab4664d55
parent92002f50bdb0358ddacacddd2fb8713489df6dd6 (diff)
downloadgcc-ab6036c8fb201ae9e50c0fc442606feea30988fe.zip
gcc-ab6036c8fb201ae9e50c0fc442606feea30988fe.tar.gz
gcc-ab6036c8fb201ae9e50c0fc442606feea30988fe.tar.bz2
BasicAttributes.java (attributes): Now package-private.
* javax/naming/directory/BasicAttributes.java (attributes): Now package-private. * javax/imageio/spi/ServiceRegistry.java (categories): Now package-private. From-SVN: r90204
-rw-r--r--libjava/ChangeLog7
-rw-r--r--libjava/javax/imageio/spi/ServiceRegistry.java3
-rw-r--r--libjava/javax/naming/directory/BasicAttributes.java3
3 files changed, 11 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 3e2c5f2..56e3b46 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,12 @@
2004-11-06 Tom Tromey <tromey@redhat.com>
+ * javax/naming/directory/BasicAttributes.java (attributes): Now
+ package-private.
+ * javax/imageio/spi/ServiceRegistry.java (categories): Now
+ package-private.
+
+2004-11-06 Tom Tromey <tromey@redhat.com>
+
* java/net/URLClassLoader.java (URLClassLoader): Now
package-private.
* java/nio/charset/CoderResult.java (CoderResult): Now
diff --git a/libjava/javax/imageio/spi/ServiceRegistry.java b/libjava/javax/imageio/spi/ServiceRegistry.java
index 566d50f..3d7134e 100644
--- a/libjava/javax/imageio/spi/ServiceRegistry.java
+++ b/libjava/javax/imageio/spi/ServiceRegistry.java
@@ -62,6 +62,7 @@ import java.util.Set;
*/
public class ServiceRegistry
{
+ // Package-private to avoid a trampoline.
/**
* The service categories of this registry.
*
@@ -73,7 +74,7 @@ public class ServiceRegistry
*
* @see #providers
*/
- private final Class[] categories;
+ final Class[] categories;
/**
diff --git a/libjava/javax/naming/directory/BasicAttributes.java b/libjava/javax/naming/directory/BasicAttributes.java
index eec1c88..9a9a800 100644
--- a/libjava/javax/naming/directory/BasicAttributes.java
+++ b/libjava/javax/naming/directory/BasicAttributes.java
@@ -185,7 +185,8 @@ public class BasicAttributes implements Attributes
// This is set by the serialization spec.
private boolean ignoreCase;
- private transient Vector attributes;
+ // Package-private to avoid a trampoline.
+ transient Vector attributes;
// Used when enumerating.
private class BasicAttributesEnumeration implements NamingEnumeration