You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2011/09/16 15:12:09 UTC

[jira] [Created] (ARIES-746) Aries Proxy fails to properly proxy Object methods for interfaces

Aries Proxy fails to properly proxy Object methods for interfaces
-----------------------------------------------------------------

                 Key: ARIES-746
                 URL: https://issues.apache.org/jira/browse/ARIES-746
             Project: Aries
          Issue Type: Bug
            Reporter: Timothy Ward


If we generate a dynamic interface proxy using ASM then we don't properly proxy methods on Object (unless they are declared on one of the interfaces). We pass a null Method to the listener and we try to cast the returned object to a random one of its interfaces.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ARIES-746) Aries Proxy fails to properly proxy Object methods for interfaces

Posted by "Timothy Ward (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Ward resolved ARIES-746.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4

> Aries Proxy fails to properly proxy Object methods for interfaces
> -----------------------------------------------------------------
>
>                 Key: ARIES-746
>                 URL: https://issues.apache.org/jira/browse/ARIES-746
>             Project: Aries
>          Issue Type: Bug
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>             Fix For: 0.4
>
>
> If we generate a dynamic interface proxy using ASM then we don't properly proxy methods on Object (unless they are declared on one of the interfaces). We pass a null Method to the listener and we try to cast the returned object to a random one of its interfaces.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (ARIES-746) Aries Proxy fails to properly proxy Object methods for interfaces

Posted by "Timothy Ward (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Ward reassigned ARIES-746:
----------------------------------

    Assignee: Timothy Ward

> Aries Proxy fails to properly proxy Object methods for interfaces
> -----------------------------------------------------------------
>
>                 Key: ARIES-746
>                 URL: https://issues.apache.org/jira/browse/ARIES-746
>             Project: Aries
>          Issue Type: Bug
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>
> If we generate a dynamic interface proxy using ASM then we don't properly proxy methods on Object (unless they are declared on one of the interfaces). We pass a null Method to the listener and we try to cast the returned object to a random one of its interfaces.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ARIES-746) Aries Proxy fails to properly proxy Object methods for interfaces

Posted by "Jeremy Hughes (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Hughes updated ARIES-746:
--------------------------------

    Fix Version/s:     (was: 0.4)
                   proxy.impl-0.4
                   proxy uber bundle 0.4
    
> Aries Proxy fails to properly proxy Object methods for interfaces
> -----------------------------------------------------------------
>
>                 Key: ARIES-746
>                 URL: https://issues.apache.org/jira/browse/ARIES-746
>             Project: Aries
>          Issue Type: Bug
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>             Fix For: proxy uber bundle 0.4, proxy.impl-0.4
>
>
> If we generate a dynamic interface proxy using ASM then we don't properly proxy methods on Object (unless they are declared on one of the interfaces). We pass a null Method to the listener and we try to cast the returned object to a random one of its interfaces.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira