Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ module ActiveRecord
end

# Workaround for https://github.com/jruby/jruby/issues/6267
if RUBY_ENGINE == "jruby"
# This is for older versions of JRuby and not necessary for moderm JRuby (>9) now
if RUBY_ENGINE == "jruby" && RUBY_VERSION.to_f < 3.0
require "jruby"

class org.jruby::RubyObjectSpace::WeakMap
Expand Down
Loading