Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20998

Missing accessClassInPackage.sun.misc RuntimePermission in jboss-marshalling on Java 11


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.4.0.GA
    • 7.4.0.Beta
    • Security Manager
    • None
    • False
    • False
    • Undefined
      • cd testsuite/integration/manualmode
      • mvn clean install -B -Dsecurity.manager -Dtest=AuthenticationForwardingSLSFTestCase

      Some tests hang indefinitely of fail when using security manager and Java 11, for example AuthenticationForwardingSFSFTestCase, AuthenticationForwardingSLSFTestCase, CdiFailoverTestCase, because of missing RuntimePermission permission accessClassInPackage.sun.misc when initializating jboss-marshalling.

      This is not a test issue, see JBMAR-234. There is a workaround, the missing permission can be granted in deployments.

            thofman Tomas Hofman
            okotek@redhat.com Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            0 Vote for this issue
            5 Start watching this issue