diff --git a/pmd-netbeans/src/pmd/config/ConfigUtils.java b/pmd-netbeans/src/pmd/config/ConfigUtils.java index 9ea679c503..d9e0406425 100644 --- a/pmd-netbeans/src/pmd/config/ConfigUtils.java +++ b/pmd-netbeans/src/pmd/config/ConfigUtils.java @@ -185,7 +185,8 @@ public abstract class ConfigUtils { try { RuleSet ruleset = ruleSetFactory.createRuleSet( new FileInputStream( ruleSetXml ), - new RuleClassLoader( ConfigUtils.class.getClassLoader() ) ); + // PENDING: perhaps can get ClassLoader from Lookup + new RuleClassLoader( ConfigUtils.class.getClassLoader() ) ); list.addAll( ruleset.getRules() ); } catch( RuntimeException e ) {