Skip to content

Commit

Permalink
Fix exception type.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed May 4, 2023
1 parent 7ddef27 commit 4e3ae3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ public Map<String, Class<?>> injectRaw(Map<? extends String, byte[]> types) {
} catch (ClassNotFoundException ignored) {
try {
result.put(entry.getKey(), dispatcher.defineClass(classLoader, entry.getKey(), entry.getValue(), protectionDomain));
} catch (Exception exception) { // The bootstrap loader lock might be replicated throughout multiple class loaders.
} catch (RuntimeException exception) { // The bootstrap loader lock might be replicated throughout multiple class loaders.
try {
result.put(entry.getKey(), Class.forName(entry.getKey(), false, classLoader));
} catch (ClassNotFoundException ignored2) {
Expand Down

0 comments on commit 4e3ae3c

Please sign in to comment.