RFR: 8267570: The comment of the class JavacParser is not appropriate

Guoxiong Li gli at openjdk.java.net
Sat May 22 14:00:12 UTC 2021


Hi all,

The following comment of the class JavacParser is not appropriate.


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


>From the source code, the current javac parser looks like a LL(K) parser instead of LL(1).
This patch revises the comment so that developers won't be confused by it.

Thank you for taking the time to review.

Best Regards,
-- Guoxiong

-------------

Commit messages:
 - 8267570: The comment of the class JavacParser is not appropriate

Changes: https://git.openjdk.java.net/jdk/pull/4153/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4153&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267570
  Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4153.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4153/head:pull/4153

PR: https://git.openjdk.java.net/jdk/pull/4153


More information about the compiler-dev mailing list