[jboss-jira] [JBoss JIRA] Created: (JBAS-4753) 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
Wed Sep 26 00:24:52 EDT 2007


ExternalContext needs pass proxy interface set to the Proxy.newProxyInstance(loader, interfaces, handler); in createProxyContext method.
----------------------------------------------------------------------------------------------------------------------------------------

                 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.0.5.GA
            Reporter: Vicky Kak
             Fix For:  JBossAS-5.0.0.Beta3


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