Java primate arrays no longer respond to 'first' (Array) from ruby
------------------------------------------------------------------
Key: JRUBY-3123
URL: http://jira.codehaus.org/browse/JRUBY-3123
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.5
Environment: Linux x32, java 1.6.0_10, jruby 1.1.5
Reporter: David Kellum
Assignee: Thomas E Enebo
% /opt/dist/jruby-1.1.4/bin/jruby -r java -e 'puts java.lang.String.new(
"Hello" ).bytes.first'
72
% /opt/dist/jruby-1.1.5/bin/jruby -r java -e 'puts java.lang.String.new(
"Hello" ).bytes.first'
-e:1: undefined method `first' for #<#<Class:01x96b5c2>:0x76db09 @[EMAIL
PROTECTED]> (NoMethodError)
I was depending on this, though I'm not sure what behavior is more correct?
--
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