[jboss-jira] [JBoss JIRA] Commented: (JBCOMMON-36) ExternalContext needs pass proxy interface set to the Proxy.newProxyInstance(loader, interfaces, handler); in createProxyContext method.

Vicky Kak (JIRA) jira-events at lists.jboss.org
Thu Oct 4 00:31:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBCOMMON-36?page=comments#action_12380346 ] 
            
Vicky Kak commented on JBCOMMON-36:
-----------------------------------

I am planning to fix it by this weekend , how soon do you want it to be done .

> ExternalContext needs pass proxy interface set to the Proxy.newProxyInstance(loader, interfaces, handler); in createProxyContext method.
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBCOMMON-36
>                 URL: http://jira.jboss.com/jira/browse/JBCOMMON-36
>             Project: JBoss Common
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: common-core, common-old
>    Affects Versions: 1.0.0.GA
>            Reporter: Vicky Kak
>         Assigned To: Vicky Kak
>             Fix For: 1.0.5.GA, 2.2.2.GA, 2.0.6.GA, 1.2.2.GA
>
>
> 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: 

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