jo
jo copied to clipboard
Doesn't work in 1.7.4 in 1.9 or 2.0 mode
When I try the simple example on the main page I get:
Java::JavaUtilConcurrent::RejectedExecutionException: Task java.util.concurrent.FutureTask@55c5a59a rejected from java.util.concurrent.ThreadPoolExecutor@5768f863[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
from java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
from java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
from java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
from java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:132)
from com.headius.jo.JoLibrary$JoMethods.jo(JoLibrary.java:123)
from com.headius.jo.JoLibrary$JoMethods$INVOKER$s$0$0$jo.call(JoLibrary$JoMethods$INVOKER$s$0$0$jo.gen)
from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:316)
from org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:145)
from org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
from org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
from org.jruby.ast.RootNode.interpret(RootNode.java:129)
from org.jruby.evaluator.ASTInterpreter.INTERPRET_EVAL(ASTInterpreter.java:95)
from org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:184)
from org.jruby.RubyKernel.evalCommon(RubyKernel.java:1130)
from org.jruby.RubyKernel.eval19(RubyKernel.java:1093)
... 118 levels...
from org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
from org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
from org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
from org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:186)
from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)