Thomas Dudziak wrote:
Is the testcase ProxyExamples#testReferenceProxyWithInheritance
a known failure on the 1.0.x branch at the moment?

Yep, that's a known failure. I was using OJB at work and had this
strange 'issue' that a testing a proxy via instanceof for an interface
did always produce false. The problem is that for the creation of the
proxy, we only use the declared interfaces, not all the concrete ones
that the object actually implements.
While this is logical (we don't know the concrete type and hence the
interfaces at the point of creation of the interface), it is quite
inconvenient.

OK, I just committed my change to make dynamic proxies work under the
same conditions as collection proxies with per-thread metadata profiles.

Regarding the proxy interface issue I cannot really tell how OJB
"should" behave. Any changes after concensus on that issue will
not be affected by my changes in AbstractIndirectionHandler.

Regards,
 Martin

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

Reply via email to