[
https://issues.jboss.org/browse/JASSIST-144?page=com.atlassian.jira.plugi...
]
Shigeru Chiba commented on JASSIST-144:
---------------------------------------
If a target class has getHandler, Javassist does not add getHandler(). So proxifying that
class does not cause any problem. On the other hand, since setHandler added by Javassist
takes a javassist.util.proxy.MethodHandler object, it should be able to coexist with other
setHandler methods, which take different type of parameters. I mean, it would safely
overload other setHandler methods.
Sorry, this workaround is slightly complex but I hope the description above makes the
trick clear.
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira