Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: JRuby 1.6.4, JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules, Ruby 1.9.2
-
Labels:None
-
Number of attachments :
Description
From MRI NEWS:
digest
new methods:
- Digest::Class.base64digest
- Digest::Instance#base64digest
- Digest::Instance#base64digest!
Apparently, the rubyspecs are missing too.
Issue Links
- depends upon
-
JRUBY-4741
[1.9] Array#pack does not support 'm0' format
-
- is duplicated by
-
JRUBY-5964
Digest::Base#file does not handle Pathname as parameter when ran in 1.9
-
@nahi suggested that we could import ext/digest/lib/digest.rb from latest MRI sources to provide those.
Currently, we provide the whole digest in pure-java code, but maybe in this case indeed we could just reuse what MRI has.
(If so, then we need to remove java-based Digest#file() method, introduced in
JRUBY-4714).