From 1f5f73572d7ef2c140484c6b9e75dbb8886b08ef Mon Sep 17 00:00:00 2001 From: Andrea Selva Date: Wed, 3 Apr 2024 15:38:41 +0200 Subject: [PATCH] Remove workaround for JRuby #8061 --- lib/bootstrap/rspec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootstrap/rspec.rb b/lib/bootstrap/rspec.rb index b957f900f6b..3baa04a0f05 100755 --- a/lib/bootstrap/rspec.rb +++ b/lib/bootstrap/rspec.rb @@ -20,7 +20,7 @@ # It's mainly related to Gradle opening java.base module and this interfere with # JRuby binding of methods. Full description at https://github.com/jruby/jruby/issues/8061#issuecomment-1908807511 # Remove when Logstash bundle a JRuby version >= 9.4.6.0. -java.util.LinkedHashSet.remove_method(:map) rescue nil +# java.util.LinkedHashSet.remove_method(:map) rescue nil require_relative "environment" LogStash::Bundler.setup!({:without => [:build]})