jruby/warbler — Issue #61: Return of Hash#select is an Array when using a warbled jar
Author: colindean
Created: 2011-11-14 18:10:29+00:00
State: open

Check out what I came up with to test this:

https://gist.github.com/1364624

```
[cdean@flyingbantha jruby-hash-array-problem]$ ruby bin/jruby-hash-array-problem.rb
Should be Hash: Hash
Should be Hash: Hash
[cdean@flyingbantha jruby-hash-array-problem]$ warble
Creating jruby-hash-array-problem.jar
[cdean@flyingbantha jruby-hash-array-problem]$ java -jar jruby-hash-array-problem.jar
Should be Hash: Hash
Should be Hash: Array
```

What comes back from Hash#select is an Array of k/v pairs in subarrays.