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

The comment of the class JavacParser is not appropriate

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • tools
    • b25
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved: