Skip to content

Commit

Permalink
fix: prevent hotswap failure if class is not found (#20549)
Browse files Browse the repository at this point in the history
References #20389
  • Loading branch information
mcollovati authored Nov 27, 2024
1 parent 14b016c commit a324953
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 a324953

Please # to comment.