On 11/12/2017 15:26, Srinivas Dama wrote:
Hi,

Please review http://cr.openjdk.java.net/~sdama/8011697/webrev.00/
for https://bugs.openjdk.java.net/browse/JDK-8011697

Fix is to make sure ScriptEngineManager always returns a particular engine on 
all platforms consistently.

I assume using a TreeSet would work too. A different approach is replace engineSpis with nameToFactory and extensionToFactory maps so that the getEngineByXXX methods don't need to a sequential search.

-Alan

Reply via email to