[arquillian-issues] [JBoss JIRA] (ARQ-1024) Support package private implementation

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Tue Jul 10 07:01:12 EDT 2012


Jesper Pedersen created ARQ-1024:
------------------------------------

             Summary: Support package private implementation
                 Key: ARQ-1024
                 URL: https://issues.jboss.org/browse/ARQ-1024
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.1.Final
            Reporter: Jesper Pedersen


Arquillian doesn't support a package private implementation of the environment leading to

{noformat}
    [junit] Caused by: java.lang.IllegalAccessException: Class org.jboss.arquillian.core.impl.loadable.SecurityActions can not access a member of class org.jboss.jca.embedded.arquillian.EmbeddedJCAContainer with modifiers "public"
    [junit]     at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
    [junit]     at java.lang.reflect.Constructor.newInstance(Constructor.java:505)
    [junit]     at org.jboss.arquillian.core.impl.loadable.SecurityActions.newInstance(SecurityActions.java:164)
    [junit]     ... 38 more
{noformat}

The correct method / constructor should be resolved, and setAccessible(true) should be called

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