Skip to content

Commit a078dfb

Browse files
committed
Revert "Do not raise an error if incomplete classpath is allowed oracle#2556"
This reverts commit ea98895.
1 parent 6957a08 commit a078dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/classinitialization/ClassInitializationFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static boolean declaresDefaultMethods(ResolvedJavaType type) {
394394
}
395395
return false;
396396
} catch (NoClassDefFoundError e) {
397-
if (NativeImageOptions.AllowIncompleteClasspath.getValue()) {
397+
if (!NativeImageOptions.AllowIncompleteClasspath.getValue()) {
398398
return false;
399399
}
400400

0 commit comments

Comments
 (0)