Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created October 30, 2015 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorickpeterse/d98ec87d068f7237220e to your computer and use it in GitHub Desktop.
Save yorickpeterse/d98ec87d068f7237220e to your computer and use it in GitHub Desktop.
jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 OpenJDK 64-Bit Server VM 25.65-b01 on 1.8.0_65-b17 +jit [linux-amd64]
.EEE..EE..EE.EE..EE.E.
1)
BasicSocket#getsockopt returns a Socket::Option for a boolean option ERROR
NoMethodError: undefined method `bool' for #<Socket::Option INET SOCKET REUSEADDR 0>
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:17:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `block in protect'
org/jruby/RubyEnumerable.java:1552:in `all?'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:208:in `block in process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:239:in `block in repeat'
org/jruby/RubyFixnum.java:299:in `times'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:238:in `repeat'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:200:in `block in process'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:199:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:38:in `describe'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/object.rb:11:in `describe'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:3:in `<top>'
org/jruby/RubyKernel.java:958:in `load'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:1:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `block in protect'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:51:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:43:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/commands/mspec-run.rb:94:in `run'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8:in `<top>'
2)
BasicSocket#getsockopt returns a Socket::Option for a numeric option ERROR
NameError: uninitialized constant Socket::IP_TTL
org/jruby/RubyModule.java:3144:in `const_missing'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:21:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `block in protect'
org/jruby/RubyEnumerable.java:1552:in `all?'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:208:in `block in process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:239:in `block in repeat'
org/jruby/RubyFixnum.java:299:in `times'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:238:in `repeat'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:200:in `block in process'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:199:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:38:in `describe'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/object.rb:11:in `describe'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:3:in `<top>'
org/jruby/RubyKernel.java:958:in `load'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:1:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `block in protect'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:51:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:43:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/commands/mspec-run.rb:94:in `run'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8:in `<top>'
3)
BasicSocket#getsockopt returns a Socket::Option for a struct option ERROR
NoMethodError: undefined method `linger' for #<Socket::Option INET SOCKET LINGER on>
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:29:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `block in protect'
org/jruby/RubyEnumerable.java:1552:in `all?'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:208:in `block in process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:239:in `block in repeat'
org/jruby/RubyFixnum.java:299:in `times'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:238:in `repeat'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:200:in `block in process'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:199:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:38:in `describe'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/object.rb:11:in `describe'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:3:in `<top>'
org/jruby/RubyKernel.java:958:in `load'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:1:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `block in protect'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:51:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:43:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/commands/mspec-run.rb:94:in `run'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8:in `<top>'
4)
BasicSocket#getsockopt using Symbols as arguments returns a Socket::Option for arguments :IP and :TTL ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_TTL
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
5)
BasicSocket#getsockopt using Symbols as arguments returns a Socket::Option for arguments :IP and :MULTICAST_TTL ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_MULTICAST_TTL
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
6)
BasicSocket#getsockopt using Symbols as arguments returns a Socket::Option for arguments :TCP and :REPAIR ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_REPAIR
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
7)
BasicSocket#getsockopt using Symbols as arguments returns a Socket::Option for arguments :UDP and :CORK ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_CORK
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
8)
BasicSocket#getsockopt using Strings as arguments returns a Socket:"O"ption for arguments "IP" and "TTL" ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_TTL
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
9)
BasicSocket#getsockopt using Strings as arguments returns a Socket:"O"ption for arguments "IP" and "MULTICAST"_TTL ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_MULTICAST_TTL
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
10)
BasicSocket#getsockopt using Strings as arguments returns a Socket:"O"ption for arguments "TCP" and "REPAIR" ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_REPAIR
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
11)
BasicSocket#getsockopt using Strings as arguments returns a Socket:"O"ption for arguments "UDP" and "CORK" ERROR
Java::JavaLang::IllegalArgumentException: No enum constant jnr.constants.platform.SocketOption.SO_CORK
java.lang.Enum.valueOf(Enum.java:238)
jnr.constants.platform.SocketOption.valueOf(SocketOption.java:4)
org.jruby.ext.socket.RubyBasicSocket.optionFromArg(RubyBasicSocket.java:673)
org.jruby.ext.socket.RubyBasicSocket.getsockopt(RubyBasicSocket.java:200)
org.jruby.ext.socket.RubyBasicSocket$INVOKER$i$2$0$getsockopt.call(RubyBasicSocket$INVOKER$i$2$0$getsockopt.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwo.call(JavaMethod.java:1055)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:693)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther0:protect(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$block$protect$1(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:70)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.all_p(RubyArray.java:3981)
org.jruby.RubyEnumerable.all_p19(RubyEnumerable.java:1552)
org.jruby.RubyEnumerable$INVOKER$s$0$0$all_p19.call(RubyEnumerable$INVOKER$s$0$0$all_p19.gen)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.invokeOther5:all?(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.lib.mspec.runner.context.RUBY$method$protect$0(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457)
org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72)
org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:183)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:107)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66)
org.jruby.runtime.Block.yieldSpecific(Block.java:116)
org.jruby.RubyFixnum.times(RubyFixnum.java:299)
org.jruby.RubyFixnum$INVOKER$i$0$0$times.call(RubyFixnum$INVOKER$i$0$0$times.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:128)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:114)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:116)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:103)
org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:32)
org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
org.jruby.Ruby.runInterpreter(Ruby.java:837)
org.jruby.Ruby.loadFile(Ruby.java:2901)
org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:245)
org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:35)
org.jruby.runtime.load.LoadService.load(LoadService.java:335)
org.jruby.RubyKernel.loadCommon(RubyKernel.java:966)
org.jruby.RubyKernel.load19(RubyKernel.java:958)
org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:289)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
org.jruby.runtime.BlockBody.yield(BlockBody.java:83)
org.jruby.runtime.Block.yieldNonArray(Block.java:151)
org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1733)
org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1756)
org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1636)
org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:82)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:198)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:184)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:298)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:136)
org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:118)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:139)
org.jruby.runtime.BlockBody.yield(BlockBody.java:77)
org.jruby.runtime.Block.yield(Block.java:147)
org.jruby.RubyArray.each(RubyArray.java:1560)
org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:321)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:305)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76)
org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:163)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:149)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.invokeOther8:main(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run)
home.yorickpeterse.$_dot_gem.jruby.$2_dot_2_dot_2.gems.mspec_minus_1_dot_8_dot_0.bin.mspec_minus_run.RUBY$script(/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8)
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
org.jruby.ir.Compiler$1.load(Compiler.java:111)
org.jruby.Ruby.runScript(Ruby.java:821)
org.jruby.Ruby.runScript(Ruby.java:813)
org.jruby.Ruby.runNormally(Ruby.java:751)
org.jruby.Ruby.runFromMain(Ruby.java:573)
org.jruby.Main.doRunFromMain(Main.java:403)
org.jruby.Main.internalRun(Main.java:298)
org.jruby.Main.run(Main.java:225)
org.jruby.Main.main(Main.java:197)
12)
BasicSocket#getsockopt using a String based option allows unpacking of a numeric option ERROR
NameError: uninitialized constant Socket::IP_TTL
org/jruby/RubyModule.java:3144:in `const_missing'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:149:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `block in protect'
org/jruby/RubyEnumerable.java:1552:in `all?'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:179:in `protect'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:208:in `block in process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:239:in `block in repeat'
org/jruby/RubyFixnum.java:299:in `times'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:238:in `repeat'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:200:in `block in process'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:199:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:230:in `block in process'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/context.rb:230:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:38:in `describe'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/object.rb:11:in `describe'
/home/yorickpeterse/Projects/ruby/rubysl-socket/spec/basicsocket/getsockopt_spec.rb:3:in `<top>'
org/jruby/RubyKernel.java:958:in `load'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:1:in `block in (root)'
org/jruby/RubyBasicObject.java:1636:in `instance_eval'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:69:in `block in protect'
org/jruby/RubyArray.java:1560:in `each'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:57:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:51:in `files'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/runner/mspec.rb:43:in `process'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/lib/mspec/commands/mspec-run.rb:94:in `run'
/home/yorickpeterse/.gem/jruby/2.2.2/gems/mspec-1.8.0/bin/mspec-run:8:in `<top>'
Finished in 0.236000 seconds
1 file, 22 examples, 16 expectations, 0 failures, 12 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment