I get this error message (only with TestCorrect::all)
java.lang.SecurityException: Attempted to access restricted classes or methods. at de.unisaarland.cdl.prog2.projects.test.MySecurityManager.checkPermission(MySecurityManager.java:228) at java.base/java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:479)
I already checked the following:
- there are no implementation specific imports
- there are no print statements
- there are not more imports than in a previous run that didn’t fail
Are there any other causes for SecurityExceptions?