Skip to content

Commit b98e52a

Browse files
lgxbslgxVicente Romero
authored andcommitted
8267570: The comment of the class JavacParser is not appropriate
Reviewed-by: jjg
1 parent 379376f commit b98e52a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@
6262
import static com.sun.tools.javac.resources.CompilerProperties.Fragments.VarAndExplicitNotAllowed;
6363
import static com.sun.tools.javac.resources.CompilerProperties.Fragments.VarAndImplicitNotAllowed;
6464

65-
/** The parser maps a token sequence into an abstract syntax
66-
* tree. It operates by recursive descent, with code derived
67-
* systematically from an LL(1) grammar. For efficiency reasons, an
68-
* operator precedence scheme is used for parsing binary operation
69-
* expressions.
65+
/**
66+
* The parser maps a token sequence into an abstract syntax tree.
67+
* The parser is a hand-written recursive-descent parser that
68+
* implements the grammar described in the Java Language Specification.
69+
* For efficiency reasons, an operator precedence scheme is used
70+
* for parsing binary operation expressions.
7071
*
7172
* <p><b>This is NOT part of any supported API.
7273
* If you write code that depends on this, you do so at your own risk.

0 commit comments

Comments
 (0)