BasicAttributes.java (attributes): Now package-private.
authorTom Tromey <tromey@redhat.com>
Sat, 6 Nov 2004 23:29:12 +0000 (23:29 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 6 Nov 2004 23:29:12 +0000 (23:29 +0000)
* javax/naming/directory/BasicAttributes.java (attributes): Now
package-private.
* javax/imageio/spi/ServiceRegistry.java (categories): Now
package-private.

From-SVN: r90204

libjava/ChangeLog
libjava/javax/imageio/spi/ServiceRegistry.java
libjava/javax/naming/directory/BasicAttributes.java

index 3e2c5f2613a3047927f8da1851f00ebd4094e322..56e3b463693b19affb7e65c28f4fbf4aa44c1d01 100644 (file)
@@ -1,3 +1,10 @@
+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
index 566d50f732e6f4a3c729eb9ee5915d2e3371cd8b..3d7134ed53fb1b5461ecb10ffc86fbc5e8c58b5b 100644 (file)
@@ -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;
 
 
   /**
index eec1c88bbe71cd6d176f40786f304215d8f33fc8..9a9a80019a452186285cbeb029126ca3dab04df6 100644 (file)
@@ -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