Skip to content

Commit

Permalink
[BZ-1072679] manage NoClassDefFoundError as a ClassNotFoundException …
Browse files Browse the repository at this point in the history
…raising a compilation error when it occurs
  • Loading branch information
mariofusco committed Mar 13, 2014
1 parent 5100cf1 commit c7973a9
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -113,6 +113,8 @@ protected synchronized Class<?> loadClass(String name, boolean resolve) throws C
return internalLoadClass(name, resolve);
} catch (ClassNotFoundException e2) {
return loadType(name, resolve);
} catch (NoClassDefFoundError e) {
throw new ClassNotFoundException(e.getMessage());
}
}

Expand Down

0 comments on commit c7973a9

Please sign in to comment.