> > I have encountered a problem trying to initialize the String and Hashtable
> > classes. Here's the problem:
> >
> > - Hashtable uses String constants like "loadFactor" and "threshold" which
> > are initialized in Hashtable.<clinit>.
> > - String constants are supposed to have unique values, as ensured
> > by String.intern. Thus, for String constant pool entries, I call
> > String.intern.
> > - String.intern makes use of String.internTable, which is a Hashtable,
> > and which is initialized in String.<clinit>.
>
> In a later message,
> > I'm talking about these lines from java.util.Hashtable:
> >
> > // used for serializing instances of this class
> > private static final ObjectStreamField[] serialPersistentFields =
> > { new ObjectStreamField("loadFactor", float.class),
> > new ObjectStreamField("threshold", int.class) };
>
> I'm a little late entering this conversation, but how about this for a
> solution?
Since the CVS version of Hashtable doesn't have these fields, won't this problem go
away automatically?
John Leuner
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath