ham1 opened a new pull request, #6871: URL: https://github.com/apache/jmeter/pull/6871
Building with Java 25 and Error Prone on fails in `:src:core:compileJava` and `:src:functions:compileJava`. Since Java 23, a comment line that starts with `///` is a Markdown doc comment (JEP 467), so Error Prone's NotJavadoc check rejects three comments that were meant as plain comments: - `WrapperEditor.setValue`: `/// final because called from ctor` - `SampleSaveConfiguration`: the `/////// End of standard field accessors ///////` separator, which sits right before a `/**` comment - `DateTimeConvertFunction`: `return ""; ////$NON-NLS-1$` Each is now a normal `//` comment. No code changes. CI does not see this because the Error Prone job runs on JDK 21. Other `///` lines in `src` compile fine on Java 25: `LogEvent` and `ContextMap` use `///` as real field docs, and the remaining separator lines have no doc comment after them. Checked locally: `./gradlew classes --no-build-cache --rerun-tasks` passes on Java 25 with Error Prone on (0 warnings), and on Java 21. Only main sources were checked, like the CI Error Prone job. Test sources were not compiled on Java 25. With this, the CI Error Prone job could move to JDK 25 in a later change. Generated-by: claude-opus-5-5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
