It is not currently thread safe, but we have several requirements to make it so. Would you describe how you are using threading in Rhino now and would you supply a test case?
Cheers, -- Jim On 2013-04-18, at 6:58 AM, Benjamin Sieffert <[email protected]> wrote: > Hello everyone, > > we are experimentally implementing Nashorn in a little project that is > currently using Rhino for javascript purposes right now. While it is > generally working well, it does not appear to be threadsafe in regards to > scripts generated by / running on the same ScriptEngine object. Now while > NashornScriptEngineFactory does not claim otherwise > (getParameter("THREADING") is null), we did not find any definitive > information on what the ultimate goal of Nashorn is in this regard. > Could you enlighten us? > > Best regards > > -- > Benjamin Sieffert > metrigo GmbH > Sternstr. 106 > 20357 Hamburg > > Geschäftsführer: Christian Müller, Tobias Schlottke, Philipp Westermeyer > Die Gesellschaft ist eingetragen beim Registergericht Hamburg > Nr. HRB 120447.
