Digest::MD5 equality
--------------------
Key: JRUBY-5141
URL: http://jira.codehaus.org/browse/JRUBY-5141
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5.3
Environment: 1.9 mode
Reporter: Kyle Banker
Assignee: Thomas E Enebo
Priority: Minor
This is probably just a symptom of something deeper, but:
jruby-1.5.3 > require 'digest/md5'
=> false
jruby-1.5.3 > a = Digest::MD5.new('abc')
=> #<Digest::MD5: 900150983cd24fb0d6963f7d28e17f72>
jruby-1.5.3 > b = Digest::MD5.new('abc')
=> #<Digest::MD5: 900150983cd24fb0d6963f7d28e17f72>
jruby-1.5.3 > a == b
=> true
jruby-1.5.3 > a != b
=> true
jruby-1.5.3 > a.eql?(b)
=> false
This is not the behavior we get in 1.9 MRI. a != b should be false.
--
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