Skip to content

Commit ce30020

Browse files
committed
Must use proper internal API params now that it has changed
1 parent 00f2a39 commit ce30020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ruby/stdlib/jruby/synchronized.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def self.append_features(cls)
1515

1616
def self.extend_object(obj)
1717
obj_r = JRuby.reference0(obj)
18-
singleton_class = obj_r.singleton_class
18+
singleton_class = obj_r.singleton_class(obj_r.runtime.current_context)
1919
JRuby.reference(singleton_class).become_synchronized
2020

2121
super
2222
end
2323
end
24-
end
24+
end

0 commit comments

Comments
 (0)