[PATCH] javax.swing.UIDefaults implementation

Tom Tromey tromey@redhat.com
Fri Nov 7 19:31:00 GMT 2003

>>>>> "graydon" == graydon hoare <graydon@redhat.com> writes:

graydon> this patch implements UIDefaults as per the spec (it was
graydon> previously wrong / incomplete) and modifies BasicDefaults to
graydon> use it properly.
graydon> ok to commit?

Looks good, please check it in.

graydon>  public class UIDefaults extends Hashtable
graydon>  {
graydon> +
graydon> +  LinkedList bundles;
graydon> +  Set listeners;
graydon> +  Locale defaultLocale;

Hashtable is Serializable, and this adds new non-transient fields.
Could you (or did you?  I didn't) look at the serialization docs for
this class to make sure we're compatible?  We probably need to add a
serialVersionUID to this class at the very least.


More information about the Java-patches mailing list