RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)
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. Regards, Srinivas
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
Hi, Please review the revised webrev at http://cr.openjdk.java.net/~sdama/8011697/webrev.01/ for https://bugs.openjdk.java.net/browse/JDK-8011697 Regards, Srinivas -----Original Message----- From: Alan Bateman Sent: Monday, December 11, 2017 10:05 PM To: Srinivas Dama <srinivas.dama@oracle.com>; core-libs-dev@openjdk.java.net Subject: Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one) 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
On 30/01/2018 09:17, Srinivas Dama wrote:
Hi,
Please review the revised webrev at http://cr.openjdk.java.net/~sdama/8011697/webrev.01/ for https://bugs.openjdk.java.net/browse/JDK-8011697
The updated patch to ScriptEngineManager looks okay. Can you replace the copyright header in the tests with the GPL version before you push this? We don't use the GPL + "Classpath" exception header in tests. -Alan
+1 (with the copyright header change suggested by Alan) -Sundar On 30/01/18, 8:28 PM, Alan Bateman wrote:
On 30/01/2018 09:17, Srinivas Dama wrote:
Hi,
Please review the revised webrev at http://cr.openjdk.java.net/~sdama/8011697/webrev.01/ for https://bugs.openjdk.java.net/browse/JDK-8011697
The updated patch to ScriptEngineManager looks okay.
Can you replace the copyright header in the tests with the GPL version before you push this? We don't use the GPL + "Classpath" exception header in tests.
-Alan
Hi Alan/Sundar, Please review the revised webrev with copyright header change at http://cr.openjdk.java.net/~sdama/8011697/webrev.02/ Regards, srinivas -----Original Message----- From: Sundararajan Athijegannathan Sent: Tuesday, January 30, 2018 8:53 PM To: core-libs-dev@openjdk.java.net Subject: Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one) +1 (with the copyright header change suggested by Alan) -Sundar On 30/01/18, 8:28 PM, Alan Bateman wrote:
On 30/01/2018 09:17, Srinivas Dama wrote:
Hi,
Please review the revised webrev at http://cr.openjdk.java.net/~sdama/8011697/webrev.01/ for https://bugs.openjdk.java.net/browse/JDK-8011697
The updated patch to ScriptEngineManager looks okay.
Can you replace the copyright header in the tests with the GPL version before you push this? We don't use the GPL + "Classpath" exception header in tests.
-Alan
Looks good. -Sundar On 02/02/18, 2:23 PM, Srinivas Dama wrote:
Hi Alan/Sundar,
Please review the revised webrev with copyright header change at http://cr.openjdk.java.net/~sdama/8011697/webrev.02/
Regards, srinivas
-----Original Message----- From: Sundararajan Athijegannathan Sent: Tuesday, January 30, 2018 8:53 PM To: core-libs-dev@openjdk.java.net Subject: Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)
+1
(with the copyright header change suggested by Alan)
-Sundar
On 30/01/18, 8:28 PM, Alan Bateman wrote:
On 30/01/2018 09:17, Srinivas Dama wrote:
Hi,
Please review the revised webrev at http://cr.openjdk.java.net/~sdama/8011697/webrev.01/ for https://bugs.openjdk.java.net/browse/JDK-8011697
The updated patch to ScriptEngineManager looks okay.
Can you replace the copyright header in the tests with the GPL version before you push this? We don't use the GPL + "Classpath" exception header in tests.
-Alan
On 02/02/2018 08:53, Srinivas Dama wrote:
Hi Alan/Sundar,
Please review the revised webrev with copyright header change at http://cr.openjdk.java.net/~sdama/8011697/webrev.02/
Looks good.
participants (3)
-
Alan Bateman
-
Srinivas Dama
-
Sundararajan Athijegannathan