Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-02-02 Thread Alan Bateman



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.


Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-02-02 Thread Sundararajan Athijegannathan

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


RE: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-02-02 Thread Srinivas Dama
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


Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-01-30 Thread Sundararajan Athijegannathan

+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


Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-01-30 Thread Alan Bateman

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


RE: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2018-01-30 Thread Srinivas Dama
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.d...@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



Re: RFR: 8011697(ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one)

2017-12-11 Thread Alan Bateman

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