-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17
-
Component/s: tools
-
b24
-
generic
-
generic
The implementation of the method JavacParser#peekToken(int lookahead, Predicate<TokenKind>... kinds) succeeds only when the first parameter `lookahead` is zero.
If the `lookahead` is not zero, it is wrong and returns unexpected result.
If the `lookahead` is not zero, it is wrong and returns unexpected result.