[jboss-jira] [JBoss JIRA] Commented: (JASSIST-144) ProxyObject#setHandler interferes with business methods of the same name

Steve Ebersole (JIRA) jira-events at lists.jboss.org
Tue Aug 23 14:55:17 EDT 2011


    [ https://issues.jboss.org/browse/JASSIST-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623529#comment-12623529 ] 

Steve Ebersole commented on JASSIST-144:
----------------------------------------

Oops, it is {{setHandler}} that is an issue.  Paul had mentioned both {{getHandler}} and {{setHandler}} and I just ran with that.  But as far as I can see there actually is no {{getHandler}}.  So I guess method names like {{injectHandler}} or {{$$$injectHandler$$$}}.

As for the rest of Paul's discussion, as he points out, that really depends on whether you want to maintain backwards compatibility.  For what it is worth, Hibernate does use {{javassist.util.proxy.ProxyFactory}} to generate the proxy classes.

> 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
>
> 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