diff --git a/get.sh b/get.sh index a98e9f38cf..72e586921b 100755 --- a/get.sh +++ b/get.sh @@ -257,6 +257,10 @@ getBinaryOpenjdk() download_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/testimage/${JDK_IMPL}/${heap_size}/adoptium?project=jdk" info_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/testimage/${JDK_IMPL}/${heap_size}/adoptium?project=jdk" fi + + if [ "$JDK_VERSION" -ge "21" ]; then + download_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/sbom/${JDK_IMPL}/${heap_size}/adoptium?project=jdk" + fi fi else download_url=""