summaryrefslogtreecommitdiff
path: root/java/util/TimeZone.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2004-11-06 23:24:36 +0000
committerTom Tromey <tromey@redhat.com>2004-11-06 23:24:36 +0000
commit9c9cd305e3afc976f712ffd818b06037a9e65378 (patch)
tree3bb56b08834929d8574afad9a884ff7c3ca09d9a /java/util/TimeZone.java
parent0ec4c419cf58bbe026feda146864ddc58b4dad34 (diff)
downloadclasspath-9c9cd305e3afc976f712ffd818b06037a9e65378.tar.gz
* java/net/URLClassLoader.java (URLClassLoader): Now
package-private. * java/nio/charset/CoderResult.java (CoderResult): Now package-private. (get): Likewise. (Cache): Likewise. Don't synchronize on `this'. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now package-private. * java/util/TimeZone.java (timezones): Now package-private.
Diffstat (limited to 'java/util/TimeZone.java')
-rw-r--r--java/util/TimeZone.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/util/TimeZone.java b/java/util/TimeZone.java
index 1e06e5356..39cdcd3e2 100644
--- a/java/util/TimeZone.java
+++ b/java/util/TimeZone.java
@@ -134,7 +134,8 @@ public abstract class TimeZone implements java.io.Serializable, Cloneable
/* initialize this static field lazily to overhead if
* it is not needed:
*/
- private static synchronized HashMap timezones()
+ // Package-private to avoid a trampoline.
+ static synchronized HashMap timezones()
{
if (timezones0 == null)
{