Re: [proxy] suppression of equals/hashCode

2010-09-21 Thread James Carman
On Tue, Sep 21, 2010 at 10:18 AM, Matt Benson wrote: > > I had just had that thought this morning:  that in particular, only a > delegating type proxy, an Interceptor proxy in [proxy] speak, would be > subject to the condition James outline where an interceptor proxy and its > target should *no

Re: [proxy] suppression of equals/hashCode

2010-09-21 Thread Matt Benson
On Sep 21, 2010, at 2:23 AM, Jörg Schaible wrote: > Hi Matt and James, > > Matt Benson wrote: > >> >> On Sep 20, 2010, at 6:11 PM, James Carman wrote: >> >>> On Mon, Sep 20, 2010 at 7:01 PM, Matt Benson >>> wrote: This would seem quite complicated to execute, would it not? >

Re: [proxy] suppression of equals/hashCode

2010-09-21 Thread Jörg Schaible
Hi Matt and James, Matt Benson wrote: > > On Sep 20, 2010, at 6:11 PM, James Carman wrote: > >> On Mon, Sep 20, 2010 at 7:01 PM, Matt Benson >> wrote: >>> >>> This would seem quite complicated to execute, would it not? >>> >> >> What do you propose? >> > > I don't know for sure yet. My i

Re: [proxy] suppression of equals/hashCode

2010-09-20 Thread Matt Benson
On Sep 20, 2010, at 6:11 PM, James Carman wrote: > On Mon, Sep 20, 2010 at 7:01 PM, Matt Benson wrote: >> >> This would seem quite complicated to execute, would it not? >> > > What do you propose? > I don't know for sure yet. My initial reaction would have been to try and consolidate the

Re: [proxy] suppression of equals/hashCode

2010-09-20 Thread James Carman
On Mon, Sep 20, 2010 at 7:01 PM, Matt Benson wrote: > > This would seem quite complicated to execute, would it not? > What do you propose? - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-m

Re: [proxy] suppression of equals/hashCode

2010-09-20 Thread Matt Benson
On Sep 20, 2010, at 5:26 PM, James Carman wrote: > On Mon, Sep 20, 2010 at 6:16 PM, Matt Benson wrote: >> Hi all, >> By default, [proxy]'s provided ProxyFactory implementations all force their >> generated proxies to implement hashCode via System.identityHashCode() and >> equals via reference

Re: [proxy] suppression of equals/hashCode

2010-09-20 Thread James Carman
On Mon, Sep 20, 2010 at 6:16 PM, Matt Benson wrote: > Hi all, >  By default, [proxy]'s provided ProxyFactory implementations all force their > generated proxies to implement hashCode via System.identityHashCode() and > equals via reference equality.  I will leave it to the original author to >

[proxy] suppression of equals/hashCode

2010-09-20 Thread Matt Benson
Hi all, By default, [proxy]'s provided ProxyFactory implementations all force their generated proxies to implement hashCode via System.identityHashCode() and equals via reference equality. I will leave it to the original author to explain the reasons behind this design decision if he chooses,