Fix different formatting of block line comments with openjdk 23+ by dweiss · Pull Request #1161 · google/google-java-format

@dweiss

cushon

approved these changes Sep 13, 2024

copybara-service bot pushed a commit that referenced this pull request

Sep 13, 2024
Fixes #1153.

Fixes #1161

FUTURE_COPYBARA_INTEGRATE_REVIEW=#1161 from dweiss:1153-block-line-comments-in-java23 e3ed83c
PiperOrigin-RevId: 674301748

copybara-service bot pushed a commit that referenced this pull request

Sep 13, 2024
The intent was to only run the test on JDK 23+ and to disable it until the linked issue was fixed, but it actually resulted in the test being discovered and run on all JDK versions.

That's fine, because the test is backwards compatible (`///` comments are valid in all versions, they just aren't markdown comments until 23).

The test is being fixed in #1161

PiperOrigin-RevId: 674301162

copybara-service bot pushed a commit that referenced this pull request

Sep 13, 2024
The intent was to only run the test on JDK 23+ and to disable it until the linked issue was fixed, but it actually resulted in the test being discovered and run on all JDK versions.

That's fine, because the test is backwards compatible (`///` comments are valid in all versions, they just aren't markdown comments until 23).

The test is being fixed in #1161

PiperOrigin-RevId: 674352956