Importing a map in javax.scripting javascript environment.
I'm seeing some odd behavior in the javax.scripting map implementation. The online examples show an example of adding to a list within the js environment: ScriptEngineManager mgr = new ScriptEngineManager(); ScriptEngine jsEngine = mgr.getEngineByName("JavaScript"); List<String> namesList = new ArrayList<String>(); namesList.add...