Issue #14963: Add new property to skip unnamed parameters in FinalPar…#15166
Conversation
d911073 to
e53d9a2
Compare
|
github, generate report |
|
github, generate site |
|
github, generate report |
|
https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/e53d9a2_2024010200/reports/diff/checkstyle/index.html#A3 This exception due to record pattern syntax in enhanced for that is no longer compilable syntax. It was in preview and removed in the final release |
Please always show this sort of thing via javac. |
nrmancuso
left a comment
There was a problem hiding this comment.
Code looks good, one item:
e53d9a2 to
cc7b799
Compare
|
github, generate site |
cc7b799 to
a039101
Compare
|
github, generate site |
a039101 to
e121551
Compare
58f6523 to
8c1ae7b
Compare
606e04d to
3903933
Compare
|
@romani @nrmancuso
Edit:
If it is no longer compilable, why is it still in our repo and still marked as compilable ("Compilable with Java20")? Is this also something we should discuss removing? |
|
Maybe I am not finding all the regressions. I should see regression of:
|
I suggested somewhere that we should open an issue to remove the no longer compilable code in our repo. Such code was a preview in some version we supported it but it was removed. So I am good with this as an issue Edit: I remembered @nrmancuso said as long as we support some syntax it should have an input file. #14961 (comment) |
3903933 to
277da79
Compare
…n FinalParameterCheck
277da79 to
22a829d
Compare
|
github, generate report |
|
github, generate report |
|
https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/22a829d_2024194022/reports/diff/index.html https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/22a829d_2024183400/reports/diff/openjdk17/index.html#A2 |
closes #14963:
Diff Regression config: https://gist.githubusercontent.com/mahfouz72/afd57aa6e51ca161b7927acd959e5211/raw/25589ae66b95b075875747c055df30118c0861d3/check.xml
Diff Regression patch config: https://gist.githubusercontent.com/mahfouz72/33967bf86e4a29cafa429771b0e95808/raw/72f89107ab1b81c270885ee5042ccaf535221089/check_patch.xml
Diff Regression projects: https://gist.githubusercontent.com/mahfouz72/a3d0af030c8f5efd0d8a39f2c14750bc/raw/a3424ad9b6f722e5de1a927e3d85e383101b2b93/projects-to-test-on.properties
Report Label: property is false