[jboss-jira] [JBoss JIRA] Updated: (JBAS-4753) ExternalContext can pass duplicate interfaces to Proxy.newProxyInstance(loader, interfaces, handler)
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Thu Oct 25 17:42:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4753?page=all ]
Dimitris Andreadis updated JBAS-4753:
-------------------------------------
Summary: ExternalContext can pass duplicate interfaces to Proxy.newProxyInstance(loader, interfaces, handler) (was: ExternalContext needs pass proxy interface set to the Proxy.newProxyInstance(loader, interfaces, handler); in createProxyContext method.)
Fix Version/s: JBossAS-4.2.3.GA
Affects Version/s: JBossAS-4.2.2.GA
JBossAS-4.2.1.GA
JBossAS-4.2.0.GA
JBossAS-5.0.0.Beta2
(was: JBossAS-4.0.5.GA)
Description:
The fix for JBAS-4048 made it possible to pass duplicate interfaces to Proxy.newProxyInstance(loader, interfaces, handler).
was:
In the ExternalContext Classes.getAllInterfaces(ifaces, ctx.getClass()); can populate the ifaces with the duplicate Interface entries .
When the ifaces with duplicate Interface entries is passed to the Proxy.newProxyInstance(loader, interfaces, handler); it results in the exception
>>java.lang.IllegalArgumentException: repeated interface:
> 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
More information about the jboss-jira
mailing list