StringIO#read given a buffer raises ArrayIndex error
----------------------------------------------------
Key: JRUBY-3610
URL: http://jira.codehaus.org/browse/JRUBY-3610
Project: JRuby
Issue Type: Bug
Components: Extensions
Affects Versions: JRuby 1.2
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.3
{noformat}
~/projects/rubyspec ➔ jruby ../mspec/bin/mspec spec library/stringio/
jruby 1.3.0 (ruby 1.8.6p287) (2009-04-30 9b97b75) (Java HotSpot(TM) 64-Bit
Server VM 1.6.0_07) [x86_64-java]
....................................java.lang.ArrayIndexOutOfBoundsException
at org.jruby.util.ByteList.grow(ByteList.java:619)
at org.jruby.util.ByteList.unsafeReplace(ByteList.java:336)
at org.jruby.util.ByteList.replace(ByteList.java:352)
at org.jruby.RubyStringIO.read(RubyStringIO.java:614)
{noformat}
Specs and fix coming.
--
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