Issue #18092: Add -i flag to compilation jobs in CircleCI#18094
Conversation
|
Part of |
|
I'm getting different output locally: $ java --version
java 22.0.2 2024-07-16
Java(TM) SE Runtime Environment (build 22.0.2+9-70)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing)
$ javac --version
javac 22.0.2
$ ./.ci/validation.sh javac22
src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/grammar/antlr4/InputAntlr4AstRegressionPatternsInIfStatement.java:15: error: illegal start of type
if (o instanceof (String s && s.length() > 4)) { // parenthesized pattern, `PATTERN_DEF`
^
src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/grammar/antlr4/InputAntlr4AstRegressionPatternsInIfStatement.java:15: error: ')' expected
if (o instanceof (String s && s.length() > 4)) { // parenthesized pattern, `PATTERN_DEF`
^
src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/grammar/antlr4/InputAntlr4AstRegressionPatternsInIfStatement.java:15: error: illegal start of expression
if (o instanceof (String s && s.length() > 4)) { // parenthesized pattern, `PATTERN_DEF` |
|
please add can you try upper jdks 23,24,25 ? to see if we can get consistent behavior. if no luck, CI state is more in priority. lets remove compilation comment from such input (we can create separate issue for this) to not block this PR. it will help us to resolve problems separetely. |
|
Nevermind, it's not a compiler mismatch at all. The ordering of the files differs between local and CI. The job stops on the first compilation failure it sees, therefore different output. I also cannot compile There are actually 7 files marked as I will open a separate issue for those and mark them with EDIT: Created issue: |
romani
left a comment
There was a problem hiding this comment.
Thanks a lot.
Even we we are draconic in review, bad stuff still leaking
Resolves issue
Added
-igrep flag to alljavacXjobs.