On 6 August 2011 19:37, sebb <[email protected]> wrote: > On 5 August 2011 07:28, Jörg Schaible <[email protected]> wrote: >> Hi, >> >> Gary Gregory wrote: >> >>> On Wed, Aug 3, 2011 at 10:02 AM, Jörg Schaible >>> <[email protected]> wrote: >>>> Hi Hen, >>>> >>>> Henri Yandell wrote: >>>> >>>>> I'd like to release 3.0.1 of Lang. >>>> >>>> Do we have any policies regarding Serializable types? I'd like to make >>>> StrMatcher, StrLookup and StrSubstitutor serializable. One step further >>>> to a serializable Configuration. >>> >>> I do not recall such a thing. We should document somewhere the fact >>> that we do or do not have one though! In an overview.html or package >>> html perhaps. >> >> Actually I am also unsure whether this counts as binary incompatible ... ?!? > > AFAIK, implementing an interface is binary compatible, so adding > Serializable is not an issue. > > However, implementing it is not always trivial, and changing the > serialised form later can affect binary compat, so the implementation > needs to be done carefully.
By which I mean: if the serialisation format changes, then any old serialised instances may be incompatible. >> - Jörg >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
