Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

druid: migrate to openjdk@17 #210106

Merged
merged 2 commits into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Formula/d/druid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ class Druid < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, all: "2c80d8148805b7ff4a344419fd59e698d985d31445fff14e749e4339b7080c00"
rebuild 1
sha256 cellar: :any_skip_relocation, all: "22fe28b4fdeaf2a7cf63231974487412c0db31c302860c90d904450491fe6ae9"
end

depends_on "zookeeper" => :test
depends_on "openjdk@11"
depends_on "openjdk@17" # JDK 21 issue: https://github.com/apache/druid/issues/17429

resource "mysql-connector-java" do
url "https://search.maven.org/remotecontent?filepath=com/mysql/mysql-connector-j/8.2.0/mysql-connector-j-8.2.0.jar"
Expand Down Expand Up @@ -51,7 +52,7 @@ def install
end

bin.install Dir["#{libexec}/bin/*.sh"]
bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env("11")
bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env("17")

Pathname.glob("#{bin}/*.sh") do |file|
mv file, bin/"druid-#{file.basename}"
Expand Down
Loading