forked from phoedos/pmd
NoClassDefFoundError exception caught to prevent pmd from exiting on type resolver issues
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4952 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -46,6 +46,8 @@ public class ClassTypeResolver extends JavaParserVisitorAdapter {
|
||||
populateClassName(node);
|
||||
} catch (ClassNotFoundException e) {
|
||||
populateImports(node);
|
||||
} catch (NoClassDefFoundError e) {
|
||||
populateImports(node);
|
||||
}
|
||||
return super.visit(node, data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user