From b9b0b5d19f4db0bbdcfe54582b703985ced37aa1 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sun, 27 Dec 2015 19:06:40 +0100 Subject: [PATCH] Issue #91: Get order of loading from classpath right (do not prefer classes to check) --- .../de/thetaphi/forbiddenapis/Checker.java | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/main/java/de/thetaphi/forbiddenapis/Checker.java b/src/main/java/de/thetaphi/forbiddenapis/Checker.java index 146a2504..bb76230a 100644 --- a/src/main/java/de/thetaphi/forbiddenapis/Checker.java +++ b/src/main/java/de/thetaphi/forbiddenapis/Checker.java @@ -75,7 +75,7 @@ public static enum Option { final java.lang.reflect.Method method_Class_getModule, method_Module_getResourceAsStream; final EnumSet