From a1751a6ef6432a2f639659c7e439cfc57958b8b6 Mon Sep 17 00:00:00 2001 From: Brahim Haddou Date: Tue, 16 Apr 2024 15:46:05 +0100 Subject: [PATCH 1/2] Update JDK 17, 21 and 22 casks with CPU releases. --- Casks/graalvm-community-jdk22.rb | 8 ++++---- Casks/graalvm-jdk17.rb | 8 ++++---- Casks/graalvm-jdk21.rb | 8 ++++---- Casks/graalvm-jdk22.rb | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Casks/graalvm-community-jdk22.rb b/Casks/graalvm-community-jdk22.rb index 4dbfaff..98aec7b 100644 --- a/Casks/graalvm-community-jdk22.rb +++ b/Casks/graalvm-community-jdk22.rb @@ -1,11 +1,11 @@ cask "graalvm-community-jdk22" do arch arm: "aarch64", intel: "x64" - version "22" - sha256 arm: "87b111900c5f78f919bb55103978d3b9ff44789140bb20be1c59abd23871cc86", - intel: "691b71450bcfea19eb5a3564f7a159072f9bd51a7a901e3a4775127da24a10d1" + version "22.0.1" + sha256 arm: "b96a16359c800374af5fbd3cb685aaa91cfc590ea4be35538c24b37e12c769c0", + intel: "553c2dff3febd45f917e45f4dd620c194d8225bc28d13f5545ddffea9eeb30f8" - installation_dir = "graalvm-community-openjdk-#{version}+36.1".freeze + installation_dir = "graalvm-community-openjdk-#{version}+8.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-community-openjdk-#{version.split(".").first}".freeze diff --git a/Casks/graalvm-jdk17.rb b/Casks/graalvm-jdk17.rb index 096cdb4..64ff608 100644 --- a/Casks/graalvm-jdk17.rb +++ b/Casks/graalvm-jdk17.rb @@ -1,11 +1,11 @@ cask "graalvm-jdk17" do arch arm: "aarch64", intel: "x64" - version "17.0.10" - sha256 arm: "e944c5ce5da56e683fc8f1a57191b46d9cb702930b1688bda064fcf467d876b8", - intel: "14f4bd6417809905f86e786c779d0fc2feb840d7dac35ae3503eb25af0530da0" + version "17.0.11" + sha256 arm: "a3804609f9c3db90156301b53a5fb678354282207e9a4e08d490488f21132bab", + intel: "abd6fa23985256debb82463352db090d28b86cf124ce9928782e59cb17ea2517" - installation_dir = "graalvm-jdk-#{version}+11.1".freeze + installation_dir = "graalvm-jdk-#{version}+7.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-jdk-#{version.split(".").first}".freeze diff --git a/Casks/graalvm-jdk21.rb b/Casks/graalvm-jdk21.rb index 33c0527..d9b6778 100644 --- a/Casks/graalvm-jdk21.rb +++ b/Casks/graalvm-jdk21.rb @@ -1,11 +1,11 @@ cask "graalvm-jdk21" do arch arm: "aarch64", intel: "x64" - version "21.0.2" - sha256 arm: "b504f7c570836a9c6b1b92813c5123718636d0ff0f832321129a4fe3a7b9a0b3", - intel: "3e24632f27be74d039508ea2b0b7862ef8c40784f55785cf6b6e40b4b28d9d53" + version "21.0.3" + sha256 arm: "501b3163e663f154bd816fa889810f94004530e6fcef62e6e87554247d0952c0", + intel: "6d29cacd2e3b46ee33d573757f1098fec5b487a89a98f68a5315d45a4f89a1bb" - installation_dir = "graalvm-jdk-#{version}+13.1".freeze + installation_dir = "graalvm-jdk-#{version}+7.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-jdk-#{version.split(".").first}".freeze diff --git a/Casks/graalvm-jdk22.rb b/Casks/graalvm-jdk22.rb index 8c86034..713c10f 100644 --- a/Casks/graalvm-jdk22.rb +++ b/Casks/graalvm-jdk22.rb @@ -1,11 +1,11 @@ cask "graalvm-jdk22" do arch arm: "aarch64", intel: "x64" - version "22" - sha256 arm: "61632065cfcdc4e121362f1fd25a543955836bbacd6c1aadbcbe0d469d5ab8a3", - intel: "5b83f20dbc4c636ed41f19c3309f09839d4f5c6442dba986f460589c494a476c" + version "22.0.1" + sha256 arm: "7735153e287cd63a29bb1031f2c018770a2734e5c7cb28ab5143a1bd2b4ad45f", + intel: "c1a477f4be38130f30ce745cebbb580f71c6159d94503e3e10b7ab5a7c4da66b" - installation_dir = "graalvm-jdk-#{version}+36.1".freeze + installation_dir = "graalvm-jdk-#{version}+8.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-jdk-#{version.split(".").first}".freeze From 91e1248a5646561bfdc2356f9974fab7d9f24681 Mon Sep 17 00:00:00 2001 From: Brahim Haddou Date: Tue, 16 Apr 2024 16:14:45 +0100 Subject: [PATCH 2/2] fix community jdk22 download url --- Casks/graalvm-community-jdk22.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/graalvm-community-jdk22.rb b/Casks/graalvm-community-jdk22.rb index 98aec7b..72b6a7c 100644 --- a/Casks/graalvm-community-jdk22.rb +++ b/Casks/graalvm-community-jdk22.rb @@ -10,7 +10,7 @@ target_dir = "#{jvms_dir}/graalvm-community-openjdk-#{version.split(".").first}".freeze # github.com/graalvm/graalvm-ce-builds was verified as official when first introduced to the cask - url "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-#{version}.0.0/graalvm-community-jdk-#{version}.0.0_macos-#{arch}_bin.tar.gz" + url "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-#{version}/graalvm-community-jdk-#{version}_macos-#{arch}_bin.tar.gz" name "GraalVM Community Edition for JDK 22" homepage "https://www.graalvm.org/"