Re: ObjectId and objEntityName

From: Andrus (andru..bjectstyle.org)
Date: Thu Nov 14 2002 - 22:12:13 EST

  • Next message: Craig Miskell: "Re: ObjectId and objEntityName"

    At 03:30 PM 11/15/2002 +1300, you wrote:
    >Done. WRT equals and hashCode, I used the name of the class for both,
    >under the assumption that we want ObjectId's to be equal/hash correctly
    >even if the Class'es are loaded from different ClassLoaders.
    >
    >Certainly the unit tests passed with flying colours, so I'm sure it
    >works in the normal case.. do you think that that is a valid assumption
    >for all cases?

    I think it is a pretty safe assumption in the view of our recent changes.

    How about serialization though? I wonder what is Java default behavior when
    serializing a field of type Class?

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Nov 14 2002 - 22:11:48 EST