[
http://jira.jboss.com/jira/browse/JBAS-4753?page=comments#action_12384448 ]
Dimitris Andreadis commented on JBAS-4753:
------------------------------------------
I didn't change the existing Classes.getAllInterfaces(..) for compatibility reasons.
I added a new utility method in JBCOMMON-36 that can be used to construct the array of
implemented interfaces, in presence of duplicates.
To avoid generating yet another jboss-common release just for this fix, I copied the body
of the utility method inside server/src/main/org/jboss/naming/ExternalContext.java.
After we update Branch_4_2 to jboss common 1.2.2 and HEAD to jboss common-core 2.2.3, this
can be properly replaced with a call to the Classes.getAllUniqueInterfaces(..) utility.
ExternalContext can pass duplicate interfaces to
Proxy.newProxyInstance(loader, interfaces, handler)
----------------------------------------------------------------------------------------------------
Key: JBAS-4753
URL:
http://jira.jboss.com/jira/browse/JBAS-4753
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: JBossAS-4.2.1.GA, JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA,
JBossAS-4.2.2.GA
Reporter: Vicky Kak
Assigned To: Dimitris Andreadis
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.3.GA
The fix for JBAS-4048 made it possible to pass duplicate interfaces to
Proxy.newProxyInstance(loader, interfaces, handler).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira