ignore nativespec if attribute is null

This commit is contained in:
Juergen Graf 2012-12-15 03:59:24 +01:00
parent 9fac9e9a30
commit 41fdb087bb
1 changed files with 1 additions and 0 deletions

View File

@ -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);