Skip to content

Commit ff483ee

Browse files
authored
Merge pull request #6791 from ahorek/nio4r
restore api compatibility with nio4r
2 parents 66ebde0 + ff8785c commit ff483ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,6 +2227,11 @@ public void beforeBlockingCall(ThreadContext context) {
22272227
enterSleep();
22282228
}
22292229

2230+
@Deprecated
2231+
public void beforeBlockingCall() {
2232+
beforeBlockingCall(metaClass.runtime.getCurrentContext());
2233+
}
2234+
22302235
public void afterBlockingCall() {
22312236
exitSleep();
22322237
pollThreadEvents();

0 commit comments

Comments
 (0)