Skip to content

Commit

Permalink
fix: prevent hotswap failure if class is not found
Browse files Browse the repository at this point in the history
References #20389
  • Loading branch information
mcollovati committed Nov 26, 2024
1 parent 3149de8 commit f69b324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private static Class<?> resolveClass(String className) {
try {
return Class.forName(className, false,
Thread.currentThread().getContextClassLoader());
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException | NoClassDefFoundError e) {
LOGGER.debug("Cannot resolve class {}", className, e);
}
return null;
Expand Down

0 comments on commit f69b324

Please # to comment.