[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-144) ProxyObject#setHandler interferes with business methods of the same name
Shigeru Chiba (JIRA)
jira-events at lists.jboss.org
Thu Sep 1 06:21:26 EDT 2011
[ https://issues.jboss.org/browse/JASSIST-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shigeru Chiba resolved JASSIST-144.
-----------------------------------
Fix Version/s: 3.16.0-GA
Resolution: Done
I think I found a solution.
I introduced Proxy, a super interface of ProxyObject. Proxy only provides setHandler().
Then I modified Javassist so that a proxy object will implement the Proxy interface instead of ProxyObject *if* the original object (= the super class of the proxy) has getHandler(). If not, a proxy object will implement ProxyObject and getHandler() as before.
This implies slight API incompatibility but its impacts would be minimized.
Can anyone check Hibernate with the latest snapshot of Javassist?
> ProxyObject#setHandler interferes with business methods of the same name
> ------------------------------------------------------------------------
>
> Key: JASSIST-144
> URL: https://issues.jboss.org/browse/JASSIST-144
> Project: Javassist
> Issue Type: Feature Request
> Affects Versions: 3.12.0.GA
> Reporter: Steve Ebersole
> Assignee: Shigeru Chiba
> Fix For: 3.16.0-GA
>
>
> Being reported by Hibernate/JPA users -> https://hibernate.onjira.com/browse/HHH-5731
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list