8000 openjdk 24 · Homebrew/homebrew-core@a2a2186 · GitHub
[go: up one dir, main page]

Skip to content

Commit a2a2186

Browse files
author
calvinit
committed
openjdk 24
1 parent b9aff52 commit a2a2186

File tree

2 files changed

+10
-17
lines changed

2 files changed

< 8000 div class="ml-1 text-small text-bold fgColor-success">+10
-17
lines changed
File renamed without changes.

Formula/o/openjdk.rb

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Openjdk < Formula
22
desc "Development kit for the Java programming language"
33
homepage "https://openjdk.java.net/"
4-
url "https://github.com/openjdk/jdk23u/archive/refs/tags/jdk-23.0.2-ga.tar.gz"
5-
sha256 "0812e2e4d51ab1d752c1d532150297a56bd47557db67f8e2b298199e7f65db1c"
4+
url "https://github.com/openjdk/jdk24u/archive/refs/tags/jdk-24-ga.tar.gz"
5+
sha256 "62cfe6846267a31edb1a4f451b1b1c6fddd25b7ec8522d32387f5450963b9996"
66
license "GPL-2.0-only" => { with: "Classpath-exception-2.0" }
77

88
livecheck do
@@ -53,33 +53,26 @@ class Openjdk < Formula
5353
resource "boot-jdk" do
5454
on_macos do
5555
on_arm do
56-
url "https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/openjdk-23.0.1_macos-aarch64_bin.tar.gz"
57-
sha256 "cd626e636fdd7e68467a9ca27d71107a27bd500c33ab40a91b57317c0c0f949f"
56+
url "https://download.java.net/java/GA/jdk23.0.2/6da2a6609d6e406f85c491fcb119101b/7/GPL/openjdk-23.0.2_macos-aarch64_bin.tar.gz"
57+
sha256 "bff699bb27455c2bb51d6e8f2467b77a4833388412aa2d95ec1970ddfb0e7b6c"
5858
end
5959
on_intel do
60-
url "https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/openjdk-23.0.1_macos-x64_bin.tar.gz"
61-
sha256 "3661d387ea2f1248364bc384a1e36197b3633f63dde7fd1f61b296e89eb0f768"
60+
url "https://download.java.net/java/GA/jdk23.0.2/6da2a6609d6e406f85c491fcb119101b/7/GPL/openjdk-23.0.2_macos-x64_bin.tar.gz"
61+
sha256 "b4cc7d7b51520e99308e1b4d3f8467790072c42319b9d3838ec8cfd4f69f0bc1"
6262
end
6363
end
6464
on_linux do
6565
on_arm do
66-
url "https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/openjdk-23.0.1_linux-aarch64_bin.tar.gz"
67-
sha256 "94586630f70f1e87d90c252a6a2a202655399d1358c9b226834179e8bcf800e9"
66+
url "https://download.java.net/java/GA/jdk23.0.2/6da2a6609d6e406f85c491fcb119101b/7/GPL/openjdk-23.0.2_linux-aarch64_bin.tar.gz"
67+
sha256 "8e9b2c7e0f138de785dc754ad1dfa067671de66672b5e84bb7f6f6c219a6b02b"
6868
end
6969
on_intel do
70-
url "https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/openjdk-23.0.1_linux-x64_bin.tar.gz"
71-
sha256 "dc9b6adc1550afd95e30e131c1c38044925cb656923f92f6dbf0fbd8c1405629"
70+
url "https://download.java.net/java/GA/jdk23.0.2/6da2a6609d6e406f85c491fcb119101b/7/GPL/openjdk-23.0.2_linux-x64_bin.tar.gz"
71+
sha256 "017f4ed8e8234d85e5bc1e490bb86f23599eadb6cfc9937ee87007b977a7d762"
7272
end
7373
end
7474
end
7575

76-
# Fix build with `--with-harfbuzz=system`.
77-
# https://github.com/openjdk/jdk/pull/19739
78-
patch do
79-
url "https://github.com/openjdk/jdk/commit/ba5a4670b8ad86fefb41a939752754bf36aac9dc.patch?full_index=1"
80-
sha256 "ff6c66f3fa81bef3fb18e88196c520cfa867aa5d57ebf26574635723b4d06d16"
81-
end
82-
8376
def install
8477
boot_jdk = buildpath/"boot-jdk"
8578
resource("boot-jdk").stage boot_jdk

0 commit comments

Comments
 (0)
0