Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6RC1
-
Fix Version/s: JRuby 1.6RC2
-
Component/s: Java Integration
-
Labels:None
-
Number of attachments :
Description
$ jruby -e "require 'java'; require 'stringio'; p Fixnum.method('to_channel')"
org/jruby/RubyKernel.java:1988:in `method': undefined method `to_channel' for class `#<Class:0x1003299f6>' (NameError)
from -e:1:in `(root)'
[exited with 1]
$ jruby -e "require 'stringio'; require 'java'; p Fixnum.method('to_channel')"
#<Method: Class(Object)#to_channel>
I think this is just an oversight that happened when the fix for JRUBY-3586 was applied.
Issue Links
- is related to
-
JRUBY-3586
StringIO should support to_inputstream, to_outputstream, and to_channel just like IO does
-
Fixed in bb4dc287.