Skip to content

Test the visitor for JDK 17 on every JDK, and make it the base visitor #748

Test the visitor for JDK 17 on every JDK, and make it the base visitor

Test the visitor for JDK 17 on every JDK, and make it the base visitor #748

Triggered via pull request November 29, 2026 17:52
Status Success
Total duration 21m 19s
Artifacts –

ci.yml

on: pull_request
Matrix: jdk
Matrix: native
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 1 notice
build: gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/testing/GradleTestProject.java#L109
[AnnotateFormatMethod] This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn't annotated. Doing so gives compile-time rather than run-time protection against malformed format strings.
build: open-java-format/src/test/java/com/palantir/javaformat/java/JavadocFormattingTest.java#L1282
[UnicodeEscape] Using unicode escape sequences for printable ASCII characters is obfuscated, and potentially dangerous.
build: open-java-format/src/test/java/com/palantir/javaformat/java/FormatterTest.java#L222
[FormatStringShouldUsePlaceholders] Using a format string avoids string concatenation in the common case.
build: open-java-format/src/test/java/com/palantir/javaformat/jupiter/ParameterizedClass.java#L185
[IfChainToSwitch] This if-chain may be converted into a switch
build: open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/EmbeddedNativeImage.java#L235
[StringSplitter] String.split(String) has surprising behavior
build: open-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java#L197
[VoidUsed] Using a Void-typed variable is potentially confusing, and can be replaced with a literal `null`.
build: open-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java#L137
[VoidUsed] Using a Void-typed variable is potentially confusing, and can be replaced with a literal `null`.
build: open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L62
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
build: open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L632
[UnusedMethod] Method 'endsInNewline' is never used.
build: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L21
[IfChainToSwitch] This if-chain may be converted into a switch
native (macos-26-intel)
This build uses GraalVM CE for JDK 25.0.1, the last available JDK 25 build for macOS Intel.
JDK 28-ea runs with -x :gradle-open-java-format:test
No Gradle release runs on Java 28 yet: 9.8.2, the newest, fails to compile a build script there with "Unsupported class file major version 72". The Gradle plugins' tests build their projects with Gradle on the test JVM, so they are left out until a release runs on it.