gregspurrier / shen-ruby

ShenRuby is a port of the Shen programming language to Ruby
Other
76 stars 7 forks source link

ShenRuby::Shen initialization fails with java.lang.ArrayIndexOutOfBoundsException under JRuby #6

Closed gregspurrier closed 10 years ago

gregspurrier commented 11 years ago

Using JRuby 1.7.2 and master as of commit a642f9b032edcc8aecf148e5f31f1733354dc4a9, ShenRuby::Shen.new fails with java.lang.ArrayIndexOutOfBoundsException while loading declarations.kl.

The failure occurs while evaluating the shen-initialise_arity_table expression.

Using the v0.1.0 code, the same exception is encountered while executing the chapter 11: (load "binary.shen") test case. Therefore I do not thinks this problem is introduced by the changes since v0.1.0, but rather that the characteristics of the code have changed in such a way that the same problem manifests itself in a different situation.

gregspurrier commented 10 years ago

Now working with JRuby 1.7.8.