File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,11 @@ def gate_truffle_native_tck_wasm(tasks):
748
748
mx .abort ("Cannot resolve the `wasm:WASM` language distribution. To resolve this, import the wasm suite using `--dynamicimports /wasm`." )
749
749
native_image_context , svm = graalvm_svm ()
750
750
with native_image_context (svm .IMAGE_ASSERTION_FLAGS ) as native_image :
751
- _svm_truffle_tck (native_image , 'wasm' , wasm_language )
751
+ _svm_truffle_tck (native_image , 'wasm' , wasm_language ,
752
+ # native-image sets -Djdk.internal.lambda.disableEagerInitialization=true by default,
753
+ # which breaks Vector API's isNonCapturingLambda assertion. We override this property
754
+ # for the GraalWasm Truffle Native TCK.
755
+ additional_options = ['-Djdk.internal.lambda.disableEagerInitialization=false' ])
752
756
753
757
def gate_maven_downloader (tasks ):
754
758
with Task ('Maven Downloader prepare maven repo' , tasks , tags = [VmGateTasks .maven_downloader ]) as t :
You can’t perform that action at this time.
0 commit comments