Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1024

Support package private implementation

    XMLWordPrintable

    Details

      Description

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

          [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
      

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aslak Aslak Knutsen
              Reporter:
              jesper.pedersen Jesper Pedersen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: