sebb wrote:

> On 6 August 2011 19:37, sebb <seb...@gmail.com> wrote:
>> On 5 August 2011 07:28, Jörg Schaible <joerg.schai...@scalaris.com>
>> wrote:
>>> Hi,
>>>
>>> Gary Gregory wrote:
>>>
>>>> On Wed, Aug 3, 2011 at 10:02 AM, Jörg Schaible
>>>> <joerg.schai...@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-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to