Skip to content

Commit ea98895

Browse files
galderzzakkak
authored andcommitted
Do not raise an error if incomplete classpath is allowed oracle#2556
* Original fix brings in more than what's needed for 20.1 branch, so fixing if condition check individually.
1 parent 4f35cc8 commit ea98895

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)