i think the Space(int) constructors were not designed for standard use, but rather are only implemented to support serialization. initializing your spaces the way you did, particularly since you do not ever call readResolve() on any of them, is bound to create some issues. Instead, if you want a white space for instance, i suggest doing it like this:
Space theSpace = Space.WHITE;
this is how we do it all throughout our program, and it works just fine.
-Dave |