Nashorn hangs inside thread

130 Views Asked by At

While running java's nashorn javascript engine inside a thread and upon the code

  • engine.eval(jscript);

the application hangs. Is there something to do with thread safety? How can one run engine.eval inside a thread or callback ?

0

There are 0 best solutions below