XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M2
    • None
    • JMX, Test Suite
    • None

      With the security manager enabled, all the tests in org.jboss.test.cmp2.commerce where the EJB makes mbean invocations are failing due to a missing getClassLoader RuntimePermission when org.jboss.mx.server.InvocationContext.loadClass() tries to get the TCCL. These passed in M1 and earlier because InvocationContext would invoke getContextClassLoader() in a PrivilegedAction; the version of InvocationContext in trunk makes a direct invocation.

      I need to investigate the history of the InvocationContext class to see why this change was made; possibly the intent was to require the caller to have the appropriate permission, in which case the security policy for the test needs updating.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: