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

Arquillian SecurityActions fail under actual security manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.6.Final
    • 1.1.2.Final
    • Base Implementation
    • None

      The org.jboss.arquillian.core.impl.loadable.SecurityActions#newInstance(java.lang.Class<T>, java.lang.Class<?>[], java.lang.Object[]) method takes extra care to reflectively acquire an object constructor in a privileged block. However, it then calls setAccessible(true) outside of a privileged block, rendering previous efforts useless and causing execution failures. The fix is to move that statement to within the privileged block as well.

            Unassigned Unassigned
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: