-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[java] Breaking Java Grammar changes for PMD 7.0.0 #1019
Copy link
Copy link
Closed
Labels
an:enhancementAn improvement on existing features / rulesAn improvement on existing features / rulesin:astAbout the AST structure or API, the parsing stepAbout the AST structure or API, the parsing stepin:grammarAbout the grammar of a lexer or parser, eg, a parse/lex exceptionAbout the grammar of a lexer or parser, eg, a parse/lex exception
Milestone
Metadata
Metadata
Assignees
Labels
an:enhancementAn improvement on existing features / rulesAn improvement on existing features / rulesin:astAbout the AST structure or API, the parsing stepAbout the AST structure or API, the parsing stepin:grammarAbout the grammar of a lexer or parser, eg, a parse/lex exceptionAbout the grammar of a lexer or parser, eg, a parse/lex exception
Type
Fields
Give feedbackNo fields configured for issues without a type.
The goal is, to resemble the official Java Language Specification with PMD's own java grammar.
This makes it easier to maintain the grammar in the future and avoids special solution inside PMD.
Scheduled
catchclause formal parameters (see JLS §14.20) and other improvements around FormalParameter, refs [java] AST inconsistencies around FormalParameter #998RUNSIGNEDSHIFT and RSIGNEDSHIFT, which only match the token anyway. They could
set the image on their parent, but shouldn't be pushed on the stack... we can
use a #void production for that, like in oowekyala/pmd@87f05fc
Proposed
Remaining open tasks