Skip to content

Commit 7a69707

Browse files
committed
add context
1 parent 2caa7f0 commit 7a69707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing-common/integration-tests/src/test/java/instrumentation/AgentInstrumentationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void classPathSetUp() throws ClassNotFoundException {
5656
if (loader != BOOTSTRAP_CLASSLOADER) {
5757
bootstrapClassesIncorrectlyLoaded.add(bootstrapClass);
5858
}
59-
} catch (ClassNotFoundException e) {
59+
} catch (ClassNotFoundException | NoClassDefFoundError e) {
6060
throw new RuntimeException(
6161
"Failed to load bootstrap class: " + info.getName() + " in " + bootstrapPrefix, e);
6262
}

0 commit comments

Comments
 (0)