[arquillian-issues] [JBoss JIRA] (ARQ-932) Warp: support for inner/anonymous classes

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue May 22 08:19:18 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694687#comment-12694687 ] 

Aslak Knutsen commented on ARQ-932:
-----------------------------------

Would it be possible to rewrite the Anonymous Inner Class to a Static class on 'deploy', assuming of course the Inner class doesn't reference any object instances from the parent. Using e.g. javasist or similar ?
                
> Warp: support for inner/anonymous classes
> -----------------------------------------
>
>                 Key: ARQ-932
>                 URL: https://issues.jboss.org/browse/ARQ-932
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Warp
>            Reporter: Lukáš Fryč
>             Fix For: warp_1.0.0.next
>
>
> These can't be supported right now, since they bears dependency on top-level class, which is not serializable by default.
> This class could be serialized when de-injected (like in [1]).
> But the top-level class still imports APIs which are not available on server classpath.
> The proposed API:
> https://gist.github.com/2569612
> [1] https://github.com/lfryc/jsfunitng/blob/master/src/main/java/org/jboss/arquillian/warp/test/LifecycleTestDeenricher.java

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

       



More information about the arquillian-issues mailing list