Skip to content

Instantly share code, notes, and snippets.

@cheald
Created January 22, 2015 21:24
Show Gist options
  • Save cheald/102db332fad2ba7895e6 to your computer and use it in GitHub Desktop.
Save cheald/102db332fad2ba7895e6 to your computer and use it in GitHub Desktop.
W:\repos\jruby>jruby -v
jruby 9.0.0.0.pre1 (2.2.0p0) 2015-01-20 d537cab Java HotSpot(TM) 64-Bit Server V
M 25.5-b02 on 1.8.0_05-b13 +jit [Windows 8.1-amd64]
W:\repos\jruby>jruby -S sym_enc.rb
UTF8Encoding.java:35:in `length': java.lang.ArrayIndexOutOfBoundsException: -1
from MultiByteEncoding.java:209:in `strLength'
from ByteList.java:593:in `lengthEnc'
from SymbolNode.java:71:in `<init>'
from RubyParser.java:4224:in `execute'
from RubyParser.java:1647:in `yyparse'
from RubyParser.java:1538:in `yyparse'
from RubyParser.java:5248:in `parse'
from Parser.java:108:in `parse'
from Parser.java:89:in `parse'
from Ruby.java:2691:in `parseFileAndGetAST'
from Ruby.java:2684:in `parseFileFromMainAndGetAST'
from Ruby.java:2672:in `parseFileFromMain'
from Ruby.java:602:in `parseFromMain'
from Ruby.java:548:in `runFromMain'
from Main.java:405:in `doRunFromMain'
from Main.java:300:in `internalRun'
from Main.java:227:in `run'
from Main.java:199:in `main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment