We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
2 parents d347a5a + 2a1313c commit 81c1bd3Copy full SHA for 81c1bd3
core/src/main/java/org/jruby/AbstractRubyMethod.java
@@ -105,7 +105,7 @@ public String getMethodName() {
105
106
@JRubyMethod(name = "owner")
107
public IRubyObject owner(ThreadContext context) {
108
- return method.getDefinedClass();
+ return method.getRealMethod().getDefinedClass();
109
}
110
111
@JRubyMethod(name = "source_location")
core/src/main/java/org/jruby/RubyIO.java
@@ -2054,6 +2054,8 @@ protected IRubyObject rbIoClose(ThreadContext context) {
2054
2055
fptr.finalizeFlush(context, false);
2056
2057
+ fptr.finalizeFlush(context, false);
2058
+
2059
// interrupt waiting threads
2060
fptr.interruptBlockingThreads(context);
2061
try {
0 commit comments