avsej / gson.rb

Ruby wrapper for google-gson library
Apache License 2.0
10 stars 5 forks source link

Gson.rb fails on jruby9.0.0.0.rc1 #7

Open bigsur0 opened 9 years ago

bigsur0 commented 9 years ago

Upon parsing a very simple body a failure occurs resulting in the exception below.

 expected no Exception, got java.lang.NoSuchMethodError: org.jruby.RubyNumeric.str2fnum(Lorg/jruby/Ruby;Lorg/jruby/RubyString;)Lorg/jruby/RubyFloat; with backtrace:
         # gson_ext.Decoder.decode(Decoder.java:170)
         # gson_ext.Decoder$INVOKER$i$1$0$decode.call(Decoder$INVOKER$i$1$0$decode.gen)
         # org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
         # org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:292)
         # org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:78)
         # org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:84)
         # org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:199)
         # org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:185)
         # org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
         # 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:292)
         # org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:78)
         # org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:137)
         # org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:116)
         # org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)
         # org.jruby.runtime.Block.call(Block.java:106)
         # org.jruby.RubyProc.call(RubyProc.java:317)