java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createClassLoader") on SonarQube 8

Hello,

I am one of the develpers of the Sonargraph plugin (https://github.com/sonargraph/sonar-sonargraph-integration). The plugin version 4.0 runs fine with SonarQube 7.9.1 but fails on SonarQube 8.0.
I updated the plugin to produce more logging output and the exception that then appears in the ce.log is the following:

java.security.AccessControlException: access denied (“java.lang.RuntimePermission” “createClassLoader”)
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.base/java.security.AccessController.checkPermission(AccessController.java:895)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
at java.base/java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:384)
at java.base/java.lang.ClassLoader.checkCreateClassLoader(ClassLoader.java:369)
at java.base/java.lang.ClassLoader.checkCreateClassLoader(ClassLoader.java:359)
at java.base/java.lang.ClassLoader.(ClassLoader.java:475)
at com.hello2morrow.sonargraph.integration.access.foundation.AggregatingClassLoader.(AggregatingClassLoader.java:33)
at com.hello2morrow.sonargraph.integration.access.persistence.JaxbAdapter.(JaxbAdapter.java:115)

Both SonarQube instances run on the same environment (Windows 10.0.18362 Build 18362, openjdk-11.0.1+13)

I searched the forum and saw similar reports: https://community.sonarsource.com/search?q=java.security.AccessControlException
Will this fix https://jira.sonarsource.com/browse/SONAR-12617 also solve my problem in SonarQube 8.1?

Any help is much appreciated!
Thanks and best regards

Ingmar

Hello,

can anybody shed some light on this, please?

Thanks a lot!
Ingmar