Stephan Bergmann wrote:

> 3  Incorporate Daniel's fix and change the rules so that extracting a 
> null reference of interface type T1 to a reference of interface type T2 
> succeeds if and only if T1 is derived from T2.  That is, the list would 
> become
> 
>    b1:  false   x1:  unmodified
>    b2:  true    x2:  null
>    b2a: true    x2a: null
>    b2b: false   x2b: unmodified
> 
> 4  Incorporate Daniel's fix and change the rules so that extracting a 
> null reference of interface type T1 to a reference of interface type T2 
> always succeeds, independent of T1 and T2.  That is, the list would become
> 
>    b1:  true    x1:  null
>    b2:  true    x2:  null
>    b2a: true    x2a: null
>    b2b: true    x2b: null
> 
> I favor the fourth solution, and would suggest implementing it for OOo 
> 2.0, even though it has the slight potential of breaking existing code 
> (as some of the b's would change).

I would prefer the 3rd solution. What are the drawbacks of this?
At least it comes very close to the expectation I would have without
knowing the current implementation.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to