Missing "throw" causing native ClassCastException
-------------------------------------------------

                 Key: JRUBY-1165
                 URL: http://jira.codehaus.org/browse/JRUBY-1165
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Anders Bengtsson
         Attachments: rubyio_read.patch

When sending a nil buffer to IO#read:

A TypeError is created, but it isn't actually thrown. Instead it continues on 
to a cast to RubyString, which causes a native ClassCastException.


-- 
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

Reply via email to