Skip to content

Commit

Permalink
Make loading external classes more robust. Fixes btraceio#349
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik committed Aug 26, 2018
1 parent 3982e93 commit abf3f4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/share/classes/com/sun/btrace/runtime/ClassInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ private void loadExternalClass(final ClassLoader cl, final ClassName className)
}
}
}
} catch (IOException e) {
} catch (IllegalArgumentException | IOException e) {
DebugSupport.warning("Unable to load class: " + className);
DebugSupport.warning(e);
}
}
Expand Down

0 comments on commit abf3f4e

Please sign in to comment.