Array#pack("M") failures
------------------------

                 Key: JRUBY-998
                 URL: http://jira.codehaus.org/browse/JRUBY-998
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.0RC2
         Environment: Java 1.5, Solaris 10, JRuby 1.0 RC2
            Reporter: Daniel Berger
            Priority: Minor


It seems JRuby doesn't want to pack numeric values for the "M" type:

def test_pack_M
      assert_equal("alpha=\n", @char_array.pack("M")) # ok
      assert_equal("-1=\n", @int_array.pack("M"))
      assert_equal("-1=\n", @int_array.pack("M"))
      assert_equal("-1.5=\n", @float_array.pack("M"))
      assert_equal("9223372036854775808=\n", [EMAIL PROTECTED]("M"))
end

Dan

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