diff --git a/build.xml b/build.xml index 7c7df17f..72a4d2ed 100644 --- a/build.xml +++ b/build.xml @@ -469,6 +469,7 @@ + @@ -480,6 +481,7 @@ + @@ -579,6 +581,7 @@ + @@ -612,6 +615,15 @@ + + + + + + + + + diff --git a/src/main/java/de/thetaphi/forbiddenapis/Checker.java b/src/main/java/de/thetaphi/forbiddenapis/Checker.java index 5ec9e76d..bb76230a 100644 --- a/src/main/java/de/thetaphi/forbiddenapis/Checker.java +++ b/src/main/java/de/thetaphi/forbiddenapis/Checker.java @@ -36,15 +36,16 @@ import java.net.URL; import java.net.URLConnection; import java.util.Arrays; -import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Locale; import java.util.Map; +import java.util.NavigableSet; import java.util.Set; import java.util.StringTokenizer; +import java.util.TreeSet; import java.util.regex.Pattern; import java.lang.annotation.Annotation; import java.lang.management.ManagementFactory; @@ -68,13 +69,13 @@ public static enum Option { final Logger logger; - final Set bootClassPathJars; - final Set bootClassPathDirs; + final NavigableSet runtimePaths; + final ClassLoader loader; final java.lang.reflect.Method method_Class_getModule, method_Module_getResourceAsStream; final EnumSet