Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8134503 support ES6 parsing in Nashorn
  3. JDK-8149929

Nashorn Parser API needs to be updated for ES6

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs

      Description

      Nashorn Parser JEP (https://bugs.openjdk.java.net/browse/JDK-8048176) added Parser API for ECMAScript AST. It supports ES5.1 version. This needs to be updated for ES6 version.

      Note: jdk.nashorn.internal.ir classes are not exported from nashorn module. Only way new ES6 parser and IR nodes be accessible is via Nashorn parser API (jdk.nashorn.api.tree package). We need to add mirror Tree nodes and a new Visitor subclass for ES6.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: