Skip to content

Commit 2a7805b

Browse files
committed
Bind Thread.exit to its proper name.
1 parent 398a0c4 commit 2a7805b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/jruby/RubyThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ public static IRubyObject kill(IRubyObject receiver, IRubyObject rubyThread, Blo
711711
}
712712

713713
@JRubyMethod(meta = true)
714-
public static IRubyObject s_exit(IRubyObject receiver, Block block) {
714+
public static IRubyObject exit(IRubyObject receiver, Block block) {
715715
RubyThread rubyThread = receiver.getRuntime().getThreadService().getCurrentContext().getThread();
716716

717717
synchronized (rubyThread) {

0 commit comments

Comments
 (0)