From d1e77ce6bedf643d51bf71abfe50d7b45473ab8b Mon Sep 17 00:00:00 2001 From: Brahim Haddou Date: Tue, 16 Jul 2024 14:32:50 +0100 Subject: [PATCH] Update JDK 17, 21 and 22 casks with CPU releases. --- Casks/graalvm-community-jdk22.rb | 13 ++++--------- Casks/graalvm-jdk17.rb | 13 ++++--------- Casks/graalvm-jdk21.rb | 13 ++++--------- Casks/graalvm-jdk22.rb | 13 ++++--------- 4 files changed, 16 insertions(+), 36 deletions(-) diff --git a/Casks/graalvm-community-jdk22.rb b/Casks/graalvm-community-jdk22.rb index 72b6a7c..cbb24f5 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.0.1" - sha256 arm: "b96a16359c800374af5fbd3cb685aaa91cfc590ea4be35538c24b37e12c769c0", - intel: "553c2dff3febd45f917e45f4dd620c194d8225bc28d13f5545ddffea9eeb30f8" + version "22.0.2" + sha256 arm: "883dfd503f2bbf9cd824564763c49cafa6b3c5e9d8c024093962131b4ef5101f", + intel: "0512dda1b1ea569b2a6c3dc6671e102a4d5457e3b2dfa47bf656bd32893d12e4" - installation_dir = "graalvm-community-openjdk-#{version}+8.1".freeze + installation_dir = "graalvm-community-openjdk-#{version}+9.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-community-openjdk-#{version.split(".").first}".freeze @@ -30,11 +30,6 @@ Installing GraalVM CE for JDK 22 in #{jvms_dir} requires root permission. You may be asked to enter your password to proceed. - On macOS Catalina or later, you may get a warning when you use the GraalVM - installation for the first time. This warning can be disabled by running the - following command: - xattr -r -d com.apple.quarantine "#{target_dir}" - To use GraalVM, you may want to change your $JAVA_HOME: export JAVA_HOME="#{target_dir}/Contents/Home" diff --git a/Casks/graalvm-jdk17.rb b/Casks/graalvm-jdk17.rb index 64ff608..149de16 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.11" - sha256 arm: "a3804609f9c3db90156301b53a5fb678354282207e9a4e08d490488f21132bab", - intel: "abd6fa23985256debb82463352db090d28b86cf124ce9928782e59cb17ea2517" + version "17.0.12" + sha256 arm: "4cdfdc6c9395f6773efcd191b6605f1b7c8e1b78ab900ab5cff34720a3feffc5", + intel: "3ecac1471f3fa95a56c5b75c65db9e60ac4551f56eda09eb9da95e6049ea77d7" - installation_dir = "graalvm-jdk-#{version}+7.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 @@ -30,11 +30,6 @@ Installing Oracle GraalVM for JDK 17 in #{jvms_dir} requires root permission. You may be asked to enter your password to proceed. - On macOS Catalina or later, you may get a warning when you use the GraalVM - installation for the first time. This warning can be disabled by running the - following command: - xattr -r -d com.apple.quarantine "#{target_dir}" - To use GraalVM, you may want to change your $JAVA_HOME: export JAVA_HOME="#{target_dir}/Contents/Home" diff --git a/Casks/graalvm-jdk21.rb b/Casks/graalvm-jdk21.rb index d9b6778..33bd795 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.3" - sha256 arm: "501b3163e663f154bd816fa889810f94004530e6fcef62e6e87554247d0952c0", - intel: "6d29cacd2e3b46ee33d573757f1098fec5b487a89a98f68a5315d45a4f89a1bb" + version "21.0.4" + sha256 arm: "1a38609765bb7f985783b438c0488dca1a03ee2d418c2d94a1aaabd6ea9960be", + intel: "4cfe4037fbb4190c27899e13ebdee8a034309f7a96e9e20f73fc94b28783a98d" - installation_dir = "graalvm-jdk-#{version}+7.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 @@ -30,11 +30,6 @@ Installing Oracle GraalVM for JDK 21 in #{jvms_dir} requires root permission. You may be asked to enter your password to proceed. - On macOS Catalina or later, you may get a warning when you use the GraalVM - installation for the first time. This warning can be disabled by running the - following command: - xattr -r -d com.apple.quarantine "#{target_dir}" - To use GraalVM, you may want to change your $JAVA_HOME: export JAVA_HOME="#{target_dir}/Contents/Home" diff --git a/Casks/graalvm-jdk22.rb b/Casks/graalvm-jdk22.rb index 713c10f..d6e0b13 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.0.1" - sha256 arm: "7735153e287cd63a29bb1031f2c018770a2734e5c7cb28ab5143a1bd2b4ad45f", - intel: "c1a477f4be38130f30ce745cebbb580f71c6159d94503e3e10b7ab5a7c4da66b" + version "22.0.2" + sha256 arm: "3b821806404325746b0a3de32128123d58def395b691df1c42679d9737d587e7", + intel: "9fcbf3ff96f38f31e2f590bb62adf19e065535c82e27b5fd742def005bef3528" - installation_dir = "graalvm-jdk-#{version}+8.1".freeze + installation_dir = "graalvm-jdk-#{version}+9.1".freeze jvms_dir = "/Library/Java/JavaVirtualMachines".freeze target_dir = "#{jvms_dir}/graalvm-jdk-#{version.split(".").first}".freeze @@ -30,11 +30,6 @@ Installing Oracle GraalVM for JDK 22 in #{jvms_dir} requires root permission. You may be asked to enter your password to proceed. - On macOS Catalina or later, you may get a warning when you use the GraalVM - installation for the first time. This warning can be disabled by running the - following command: - xattr -r -d com.apple.quarantine "#{target_dir}" - To use GraalVM, you may want to change your $JAVA_HOME: export JAVA_HOME="#{target_dir}/Contents/Home"