-
Notifications
You must be signed in to change notification settings - Fork 31
Running helloworld.rb using JRuby on JatoVM: java.lang.ArrayIndexOutOfBoundsException: 32 > 31 #35
Comments
I'm seeing this with Jato's master:
Are you using the 0.3 release? If so, can you please try with latest master? If master is broken, please include |
yes. root@sdkie:/home/sdkie/# jato -version should I get latest master from: Actually I tried from both, both giving me same issue. |
@SDkie Development happens on Github, I'm just mirroring on git.kernel.org. Can you please share |
root@sdkie:/home/sdkie/Desktop/programs# cat hello.rb |
@SDkie OK, I'm still not able to reproduce. What GCC version are you using? |
@penberg Using built-in specs. |
@penberg I am working on a project to port JRuby on Embedded systems. JRuby converts Ruby code to bytecode which is executed by any JVM. For this project I am testing performance of JRuby with various available JVMs. I have chosen ARM architecture. |
@SDkie No, not really. There's some ARM specific code in the tree but it's not very useful. |
@penberg I can help you reproduce this error when you will be working on this issue. |
@penberg : Great 👍 I will test it in within next 2 days. |
@SDkie, thanks! |
@penberg : tested it on Latest JRuby version: jruby 9000.dev (2.1.0.dev) 2013-11-13 f84e398 on jato 1.6.0 [linux-x86-64] but no success :( same ERROR: |
@SDkie Thanks for testing - I'll look into it! |
@SDkie Btw, does |
Here are the last few lines of make check: Annotation processing got disabled, since it requires a 1.6 compliant JVM |
@SDkie Interesting - all the tests pass. I'll look into what's wrong with JRuby! |
Using
Ubuntu 12.04x86
jruby 1.5.6
Jato VM version 0.3
root@sdkie:/home/sdkie/Desktop/programs# jruby hello.rb
Sha256.java:215:in
sha': java.lang.ArrayIndexOutOfBoundsException: 32 > 31 from Sha256.java:129:in
transform'from BaseHash.java:123:in
update' from Fortuna.java:286:in
addRandomBytes'from BasePRNG.java:142:in
addRandomBytes' from Fortuna.java:309:in
setup'from BasePRNG.java:82:in
init' from Fortuna.java:127:in
setup'from BasePRNG.java:82:in
init' from FortunaImpl.java:67:in
engineSetSeed'from SecureRandom.java:323:in
setSeed' from SecureRandom.java:365:in
nextBytes'from SecureRandom.java:386:in
next' from Random.java:320:in
nextLong'from Ruby.java:208:in
<init>' from Ruby.java:275:in
newInstance'from Main.java:262:in
internalRun' from Main.java:221:in
run'from Main.java:201:in `main'
The text was updated successfully, but these errors were encountered: