halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
466 stars 85 forks source link

Incorrect Checksum for `microsoft-11.0.16.1` #191

Open davidofwatkins opened 2 years ago

davidofwatkins commented 2 years ago

When I install microsoft-jdk-11.0.16.1 on an Apple Silicon Mac, I receive the following warning about its shasum:

$ asdf install
######################################################################################################################################################################## 100.0%
microsoft-jdk-11.0.16.1-macOS-aarch64.tar.gz
microsoft-jdk-11.0.16.1-macOS-aarch64.tar.gz: FAILED
shasum: WARNING: 1 computed checksum did NOT match

Despite this, it does seem to install fine.

Looking in jdk-macosx-aarch64.tsv, I can see that asdf is downloading https://aka.ms/download-jdk/microsoft-jdk-11.0.16.1-macOS-aarch64.tar.gz. When I checksum the downloaded file on my machine, I do indeed see a different SHA:

$ shasum -a 256  ./microsoft-jdk-11.0.16.1-macos-aarch64.tar.gz
c50a20ca8764a5aa54dc0a0cf681d891dadbdccc1051792806d797206d59ba34  ./microsoft-jdk-11.0.16.1-macos-aarch64.tar.gz