[jboss-jira] [JBoss JIRA] Created: (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
Tue Oct 2 09:07:03 EDT 2007


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: 2.2.2.GA, 2.0.6.GA, 1.2.2.GA, 1.0.5.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