Java receivers need easier access to byte[] contained in String
---------------------------------------------------------------
Key: JRUBY-875
URL: http://jira.codehaus.org/browse/JRUBY-875
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 0.9.9
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.0.0
The Ruby String impl in JRuby is backed by a byte[]. Often Java libraries we
call from Ruby code will actually want the byte[] rather than a coerced
java.lang.String instance, usually because the byte[] contains real binary data
that would be destroyed by a coercion to UTF-16 characters. We need a better
way (perhaps an automatic way?) to pass a Ruby String's byte[] contents to Java
code that wants it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email