New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8267570: The comment of the class JavacParser is not appropriate #4153
Conversation
|
Webrevs
|
* The current javac parser is a hand-written recursive-descent parser. | ||
* It implements the grammar described in the Java Language Specification. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, temporal words (like "current") should be avoided as a matter of style.
I suggest:
The parser is a hand-written recursive-descent parser that
implements the grammar described in the Java Language Specification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@jonathan-gibbons I revised the comment according to your suggestion. Thanks for your re-review. |
@lgxbslgx This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 62 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jonathan-gibbons) but any other Committer may sponsor as well.
|
@jonathan-gibbons Thanks for your review. Could I get your help to sponsor this patch? /integrate |
/sponsor |
@vicente-romero-oracle @lgxbslgx Since your change was applied there have been 127 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit b98e52a. |
Hi all,
The following comment of the class JavacParser is not appropriate.
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
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4153/head:pull/4153
$ git checkout pull/4153
Update a local copy of the PR:
$ git checkout pull/4153
$ git pull https://git.openjdk.java.net/jdk pull/4153/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4153
View PR using the GUI difftool:
$ git pr show -t 4153
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4153.diff