Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8265342

javax/management/remote/mandatory/notif/NotificationEmissionTest.java failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: repo-loom
    • Fix Version/s: repo-loom
    • Component/s: core-svc
    • Labels:
      None

      Description

      This test is failing in the loom repo.

      java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader")
      at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
      at java.base/java.security.AccessController.checkPermission(AccessController.java:1036)
      at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:408)
      at java.base/java.lang.Thread.setContextClassLoader(Thread.java:2367)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher$1.run(ClientNotifForwarder.java:453)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher$1.run(ClientNotifForwarder.java:440)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.setContextClassLoader(ClientNotifForwarder.java:439)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(ClientNotifForwarder.java:477)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.lambda$execute$0(ClientNotifForwarder.java:108)
      at java.base/java.lang.Thread.run(Thread.java:1522)
      STATUS:Failed.`main' threw exception: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader")

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: