Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267570

The comment of the class JavacParser is not appropriate

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      generic
    • OS:
      generic

      Description

      The following comment in the class JavacParser is not appropriate.

      ```
      It operates by recursive descent, with code derived
      systematically from an LL(1) grammar.
      ```

      The javac parser looks like a LL(K) parser instead of LL(1).

      The related discussion:

      Jan 2021, https://mail.openjdk.java.net/pipermail/compiler-dev/2021-January/016163.html

      May 2021, https://mail.openjdk.java.net/pipermail/compiler-dev/2021-May/016972.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gli Guoxiong Li
              Reporter:
              gli Guoxiong Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: