commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [LANG] Proposing 3.0.1
Date Sun, 07 Aug 2011 14:25:52 GMT
sebb wrote:

> On 6 August 2011 19:37, sebb <sebbaz@gmail.com> wrote:
>> On 5 August 2011 07:28, Jörg Schaible <joerg.schaible@scalaris.com>
>> wrote:
>>> Hi,
>>>
>>> Gary Gregory wrote:
>>>
>>>> On Wed, Aug 3, 2011 at 10:02 AM, Jörg Schaible
>>>> <joerg.schaible@scalaris.com> 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.

Yeah, that's when you should change the UID again.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message