Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14077

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

XMLWordPrintable

      • cd testsuite/integration/manualmode
      • mvn clean install -B -Dsecurity.manager -Dtest=AuthenticationForwardingSLSFTestCase
    • Undefined
    • ---
    • ---

      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.

            ropalka Richard Opalka
            spyrkob Bartosz Spyrko-Smietanko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: