[jruby-user] Re: java_send with a CharSequence not working
Cris Shupp <[email protected]> Tue, 28 Apr 2015 23:57:07 +0200
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
I opened this as a bug here:
https://github.com/jruby/jruby/issues/2881
They already submitted a patch in an upcoming release (4 hours after
submission -- fast!!).
To answer your question... Why use java_send in the first place?
To force JRuby to use the overloaded method of *my* choosing. I
understand that I do not have to, but if I had called a preexisting
library that returned a CharSequence I wanted to be able to avoid the
intermediate object creation.
Cris
--
Posted via http://www.ruby-forum.com/.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email