…ing error" for shell script
I broke digest lib for 1.8 at 51bf9d9 and Nick fixed it at 288ef4a. And this is a new try for re-fixing digest library for JRUBY-4717. * Update tool/globals_1_8_7.rb to import digest.rb for 1.8 as same as 1.9. * Remove Java implementation of Digest.const_missing. It's defined in lib/digest.rb for both 1.8 and 1.9. * Revert 288ef1ae. It does not mean that 288ef4a is wrong. It's 51bf9d9 which should be fixed and needs above fixes. 288ef4a was needed. With importing lib/digest.rb for 1.8 mode, Digest function start working for 1.8 as same as CRuby. % ruby187 -rdigest -e 'p Digest("SHA2")' Digest::SHA2 % jruby -rdigest -e 'p Digest("SHA2")' Digest::SHA2 % jruby163 -rdigest -e 'p Digest("SHA2")' NoMethodError: undefined method `Digest' for main:Object (root) at -e:1
* Move 1.9 sha2.rb to proper digest/sha2.rb location.
…mmand Problem here was that our lib/ruby/1.9 YAML files were still the 1.8 versions. After I swapped them out, the next problem was that they default to using the "syck" extension. Making them load "yecht" instead did not appear to completely work, so instead I took the controversial route, enabling psych by default. We'll see how it goes in RC. We can always fall back on yecht if we need to. * Get 1.9 yaml libs to match 1.9 * Move yaml libs out of builtin * Use Psych by default for 1.9 yaml
… our repo), and SnakeYAML.
Removed Digest::Base#initialize which accepts a String to be hashed. It's an old behavior of CRuby 1.8.X. 1.8.7 accepts argument except Digest::SHA2. For this fix, I updated tool/globals_1_8_7.rb to add digest/sha2.rb and let digest module use it.
…e not dotted) and handle running from another directory.
* Fix all 1.9 Array specs (other than pack, which doesn't seem to run with Ruby 1.9 at the moment). * Backport 1.9's matrix to fix matrix failures * Merge over a ruby_1_8 set.rb fix (ruby bug #118) * Make Digests' #file raise EISDIR on dir * Update rubyspec and mspec and tag remaining failures * Kernel#require should expand ~ * $? should be read-only
…ipt (none of which appeared to introduce diffs into our stdlib).
…rom resources at runtime.
* A number of findbugs items in the "threadsafe", "performance", "malcious code", and "experimental" warnings * Tidied up all NetBeans "yellows" in the files I touched * Removed now-defunct JRubyServer/Client/Service * Removed now-defunct ssa.rb and DAGBuilder
…lean-ng' ant target. Signed-off-by: Nick Sieger <firstname.lastname@example.org>
Signed-off-by: Charles Oliver Nutter <email@example.com>
…Doesn't make sense to have a 0-size, and it fails on Solaris. Reusing the general BUFSIZE.. Its probably more than big enough. Just dont suid your ng :)
Squashed commit of the following: commit d0b570adfe26b0e637675517c5ea47272b25e206 Author: Ole Christian Rynning <firstname.lastname@example.org> Date: Fri Jun 12 21:48:27 2009 +0200 Minor conditional so it compiles on Solaris. Tested on OpenSolaris 2008.11, 2009.06 and Solaris 10. Fix. commit bf60f53882d82ba9e57b7f875059d46f5561ba5d Author: Ole Christian Rynning <email@example.com> Date: Fri Jun 12 21:45:08 2009 +0200 Minor conditional so it compiles on Solaris. Tested on OpenSolaris 2008.11, 2009.06 and Solaris 10.
* Build in NG java stuff by default * Include tool/nailgun in bin dist * Merge jruby-ng and jruby-ng-server functionality into main jruby script