Skip to content

Commit fa1305f

Browse files
committed
Restore RubyHash.visitAll used by jruby-openssl
1 parent 6d6abba commit fa1305f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

core/src/main/java/org/jruby/RubyHash.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,4 +1208,11 @@ protected void set(int flag, boolean set) {
12081208
protected boolean get(int flag) {
12091209
return getDelegate().get(flag);
12101210
}
1211+
1212+
// Still used by jruby-openssl
1213+
@Deprecated(since = "9.1.3.0")
1214+
public final void visitAll(Visitor visitor) {
1215+
// use -1 to disable concurrency checks
1216+
visitLimited(getRuntime().getCurrentContext(), visitor, -1, null);
1217+
}
12111218
}

0 commit comments

Comments
 (0)