Skip to content

Instantly share code, notes, and snippets.

@mizar
Created February 9, 2012 20:33
Show Gist options
  • Save mizar/1782882 to your computer and use it in GitHub Desktop.
Save mizar/1782882 to your computer and use it in GitHub Desktop.
mizar@mizar-VirtualBox:~$ jruby-head -v -e 'require "yaml"; p YAML.load "\u{20ac}0-"'
jruby 1.7.0.dev (ruby-1.9.3-p28) (2012-02-10 df0de38) (OpenJDK 64-Bit Server VM 1.7.0_147-icedtea) [linux-amd64-java]
UTF8Encoding.java:35:in `length': java.lang.ArrayIndexOutOfBoundsException: 5
from Matcher.java:124:in `forwardSearchRange'
from Matcher.java:432:in `search'
from RubyRegexp.java:1618:in `search19'
from RubyRegexp.java:1457:in `eqq19'
from RubyRegexp$INVOKER$i$1$0$eqq19.gen:65535:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from WhenOneArgNode.java:35:in `whenSlowTest'
from WhenOneArgNode.java:46:in `when'
from CaseNode.java:133:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from ReturnNode.java:92:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from RubyClass.java:602:in `finvoke'
from RubyBasicObject.java:1788:in `send19'
from RubyKernel.java:1977:in `send19'
from RubyKernel$INVOKER$s$send19.gen:65535:in `call'
from JavaMethod.java:290:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from SuperCallSite.java:366:in `cacheAndCall'
from SuperCallSite.java:192:in `callBlock'
from SuperCallSite.java:197:in `call'
from SuperCallSite.java:108:in `callVarargs'
from ZSuperNode.java:102:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from MethodHandle.java:566:in `invokeWithArguments'
from InvocationLinker.java:162:in `invocationFallback'
from -e:1:in `__file__'
from -e:-1:in `load'
from Ruby.java:754:in `runScript'
from Ruby.java:747:in `runScript'
from Ruby.java:638:in `runNormally'
from Ruby.java:487:in `runFromMain'
from Main.java:350:in `doRunFromMain'
from Main.java:262:in `internalRun'
from Main.java:228:in `run'
from Main.java:212:in `run'
from Main.java:192:in `main'
mizar@mizar-VirtualBox:~$ jruby-head -v -e 'require "yaml"; p YAML.load "\u{130}00-"'
jruby 1.7.0.dev (ruby-1.9.3-p28) (2012-02-10 df0de38) (OpenJDK 64-Bit Server VM 1.7.0_147-icedtea) [linux-amd64-java]
UTF8Encoding.java:35:in `length': java.lang.ArrayIndexOutOfBoundsException: 5
from Matcher.java:124:in `forwardSearchRange'
from Matcher.java:432:in `search'
from RubyRegexp.java:1618:in `search19'
from RubyRegexp.java:1457:in `eqq19'
from RubyRegexp$INVOKER$i$1$0$eqq19.gen:65535:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from WhenOneArgNode.java:35:in `whenSlowTest'
from WhenOneArgNode.java:46:in `when'
from CaseNode.java:133:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from ReturnNode.java:92:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from RubyClass.java:602:in `finvoke'
from RubyBasicObject.java:1788:in `send19'
from RubyKernel.java:1977:in `send19'
from RubyKernel$INVOKER$s$send19.gen:65535:in `call'
from JavaMethod.java:290:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from SuperCallSite.java:366:in `cacheAndCall'
from SuperCallSite.java:192:in `callBlock'
from SuperCallSite.java:197:in `call'
from SuperCallSite.java:108:in `callVarargs'
from ZSuperNode.java:102:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from MethodHandle.java:566:in `invokeWithArguments'
from InvocationLinker.java:162:in `invocationFallback'
from -e:1:in `__file__'
from -e:-1:in `load'
from Ruby.java:754:in `runScript'
from Ruby.java:747:in `runScript'
from Ruby.java:638:in `runNormally'
from Ruby.java:487:in `runFromMain'
from Main.java:350:in `doRunFromMain'
from Main.java:262:in `internalRun'
from Main.java:228:in `run'
from Main.java:212:in `run'
from Main.java:192:in `main'
mizar@mizar-VirtualBox:~$ jruby-head -v -e 'require "yaml"; p YAML.load "\u{130}\u{130}-"'
jruby 1.7.0.dev (ruby-1.9.3-p28) (2012-02-10 df0de38) (OpenJDK 64-Bit Server VM 1.7.0_147-icedtea) [linux-amd64-java]
UTF8Encoding.java:35:in `length': java.lang.ArrayIndexOutOfBoundsException: 5
from Matcher.java:124:in `forwardSearchRange'
from Matcher.java:432:in `search'
from RubyRegexp.java:1618:in `search19'
from RubyRegexp.java:1457:in `eqq19'
from RubyRegexp$INVOKER$i$1$0$eqq19.gen:65535:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from WhenOneArgNode.java:35:in `whenSlowTest'
from WhenOneArgNode.java:46:in `when'
from CaseNode.java:133:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from ReturnNode.java:92:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from RubyClass.java:602:in `finvoke'
from RubyBasicObject.java:1788:in `send19'
from RubyKernel.java:1977:in `send19'
from RubyKernel$INVOKER$s$send19.gen:65535:in `call'
from JavaMethod.java:290:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:212:in `call'
from DefaultMethod.java:207:in `call'
from SuperCallSite.java:366:in `cacheAndCall'
from SuperCallSite.java:192:in `callBlock'
from SuperCallSite.java:197:in `call'
from SuperCallSite.java:108:in `callVarargs'
from ZSuperNode.java:102:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from MethodHandle.java:566:in `invokeWithArguments'
from InvocationLinker.java:162:in `invocationFallback'
from -e:1:in `__file__'
from -e:-1:in `load'
from Ruby.java:754:in `runScript'
from Ruby.java:747:in `runScript'
from Ruby.java:638:in `runNormally'
from Ruby.java:487:in `runFromMain'
from Main.java:350:in `doRunFromMain'
from Main.java:262:in `internalRun'
from Main.java:228:in `run'
from Main.java:212:in `run'
from Main.java:192:in `main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment