diff --git a/src/main/java/de/tum/cit/ase/ares/api/securitytest/java/JavaSecurityTestCaseFactoryAndBuilder.java b/src/main/java/de/tum/cit/ase/ares/api/securitytest/java/JavaSecurityTestCaseFactoryAndBuilder.java index 69d022a3..363f5596 100644 --- a/src/main/java/de/tum/cit/ase/ares/api/securitytest/java/JavaSecurityTestCaseFactoryAndBuilder.java +++ b/src/main/java/de/tum/cit/ase/ares/api/securitytest/java/JavaSecurityTestCaseFactoryAndBuilder.java @@ -209,7 +209,7 @@ private void createSecurityTestCases() { Set allowedPackages = new HashSet<>(resourceAccesses.regardingPackageImports()); // Add default imports needed for the execution allowedPackages.addAll(Set.of( - new SecurityPolicy.PackagePermission("java.lang"), + new SecurityPolicy.PackagePermission("java"), new SecurityPolicy.PackagePermission("org.java.aspectj"), new SecurityPolicy.PackagePermission("org.aspectj"), new SecurityPolicy.PackagePermission("de.tum.cit.ase.ares.api.aop.java.aspectj.adviceandpointcut")));