ignore nativespec if attribute is null
This commit is contained in:
parent
9fac9e9a30
commit
41fdb087bb
|
@ -489,6 +489,7 @@ public class Util {
|
|||
|
||||
public static void addDefaultBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, IClassHierarchy cha) {
|
||||
/** BEGIN Custom change: load xml from file system as a fallback */
|
||||
if (nativeSpec == null) return;
|
||||
if (cl.getResourceAsStream(nativeSpec) != null) {
|
||||
/** END Custom change: load xml from file system as fallback */
|
||||
addBypassLogic(options, scope, cl, nativeSpec, cha);
|
||||
|
|
Loading…
Reference in New Issue