Issue #17285: Add non-compilable resources to google-java-format.sh#17288
Conversation
| | grep -v "rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java" \ | ||
| )) | ||
|
|
||
| echo "${NON_COMPILABLE_INPUT_PATHS[@]}" |
There was a problem hiding this comment.
this is just for testing. will remove it later
|
https://github.com/checkstyle/checkstyle/actions/runs/15942039767/job/44971356845#step:5:1 Is formatter not able to support the newer syntax? Can you try to format these files locally and show us the results? @mohitsatr |
|
@Zopsss @romani and formatter too is working as expected. |
|
@mohitsatr please push the changes |
|
no changes are made on the local. I just tried formatting the file and ran google-formatter CI job. neither gave any problem. Edit: please ignore the above. CI did make some formatting changes. |
ff40b1c to
3585fef
Compare
|
https://github.com/checkstyle/checkstyle/actions/runs/15969982936/job/45038817056?pr=17288#step:5:15 looks like we leaked bad files. "non-compiled" usually means non-compiled by jdk11 but compiled by jdk21. And we have a just another gap here. Please fix compilation error. We will improve for all other files in scope of #17309 |
3585fef to
17c767f
Compare
|
@mohitsatr any updates on this? |
5e42e62 to
4180b41
Compare
|
@romani @Zopsss the file is compilable by javac21, but is getting tested on javac17 |
|
workflow is updated to use jdk21 |
resolves #17285
InputFormatted...javainputs and tests