Skip to content

Commit 161a6a4

Browse files
committed
skip tests because they're built with Java 8 release level and doesn't have FFM
1 parent 80e0927 commit 161a6a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/utils/build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ def _build_java(work_dir: Path, branch: Optional[str]) -> list[str]:
210210
'--also-make',
211211
# use locally installed version of aws-crt-java
212212
'-Dawscrt.version=1.0.0-SNAPSHOT',
213+
# skip test compilation: the SDK's S3 test code references
214+
# java.lang.foreign.MemorySegment which is not available at
215+
# the SDK's Java 8 compiler release level.
216+
'-Dmaven.test.skip=true',
213217
])
214218

215219
# Build runner

0 commit comments

Comments
 (0)