RubyUNIXSocket read() cases IllegalArgumentException
----------------------------------------------------

                 Key: JRUBY-2084
                 URL: http://jira.codehaus.org/browse/JRUBY-2084
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1
         Environment: Rails 1.2.3, Mac OS X, ActiveRecord connecting to MySQL
            Reporter: Pat Cheng
            Assignee: Thomas E Enebo


I was just trying to run rake test on my project.
It works great on JRuby 1.1RC1. With the latest trunk, I got this error:
java.lang.IllegalArgumentException
        at java.nio.Buffer.position(Buffer.java:218)
        at 
org.jruby.ext.socket.RubyUNIXSocket$UnixDomainSocketChannel.read(RubyUNIXSocket.java:87)
        at org.jruby.util.io.ChannelStream.bufferedRead(ChannelStream.java:548)
        at org.jruby.util.io.ChannelStream.fread(ChannelStream.java:729)
        at org.jruby.RubyIO.read(RubyIO.java:2042)
...



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