RFR 8074671: Nashorn Parser API

Remi Forax forax at univ-mlv.fr
Mon Mar 9 08:08:39 UTC 2015


On 03/09/2015 07:02 AM, A. Sundararajan wrote:
> Please review "Nashorn Parser API". Introduces jdk.nashorn.api.tree 
> package to support parser API for Nashorn.
>
> JEP: http://openjdk.java.net/jeps/236
> Bug: https://bugs.openjdk.java.net/browse/JDK-8074671
> Webrev: http://cr.openjdk.java.net/~sundar/8074671/
>
> Simple examples "evalcheck.js" and "withcheck.js" under samples 
> directory added.
>
> Thanks to Joe Darcy who helped me with extensive specification review.
>
> Thanks,
> -Sundar

Hi Sundar,
nice works !

Nitpicking, there are several occurrences of list.stream.forEach(item -> 
...)
that can be replaced by the simpler list.forEach(item -> ...).

cheers,
Rémi



More information about the nashorn-dev mailing list