Title: Javadoc with an unclosed inline tag is left completely unformatted · Issue #172 · openjavaformat/open-java-format · GitHub
Open Graph Title: Javadoc with an unclosed inline tag is left completely unformatted · Issue #172 · openjavaformat/open-java-format
X Title: Javadoc with an unclosed inline tag is left completely unformatted · Issue #172 · openjavaformat/open-java-format
Description: Upstream: google/google-java-format#1509 Kind: bug | Priority: low google-java-format#1509 (merged 2026-10-29, copybara export) only adds tests that document a limitation: in a classic Javadoc comment, an unclosed inline tag outside Open Graph Description: Upstream: google/google-java-format#1509 Kind: bug | Priority: low google-java-format#1509 (merged 2026-10-29, copybara export) only adds tests that document a limitation: in a classic Javadoc comm...
X Description: Upstream: google/google-java-format#1509 Kind: bug | Priority: low google-java-format#1509 (merged 2026-10-29, copybara export) only adds tests that document a limitation: in a classic Javadoc comm...
Opengraph URL: https://github.com/openjavaformat/open-java-format/issues/172
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Javadoc with an unclosed inline tag is left completely unformatted","articleBody":"**Upstream:** https://github.com/google/google-java-format/pull/1509 \n**Kind:** bug | **Priority:** low\n\n[google-java-format#1509](https://github.com/google/google-java-format/pull/1509) (merged 2026-10-29, copybara export) only adds tests that document a limitation: in a classic Javadoc comment, an unclosed inline tag outside `\u003cpre>` (such as a `{`@link`` without its closing brace) makes the lexer throw, and the Javadoc formatter then returns the comment unchanged. The tests cover the unclosed tag before list items, blank lines, footer tags and at the end of the comment.\n\nWhy it matters: our `JavadocFormatter` has the same structure (it catches `LexException` around line 52 and returns the input), so one typo disables Javadoc formatting for the whole comment. Upstream has not changed the behaviour yet, only pinned it down.\n\nAffected files in our repo:\n- open-java-format/src/main/java/com/palantir/javaformat/java/javadoc/JavadocFormatter.java\n- open-java-format/src/main/java/com/palantir/javaformat/java/javadoc/JavadocLexer.java (matching-tag check)\n\nSuggested action: watch. If upstream later formats such comments, follow; meanwhile consider a test in our suite that records the current behaviour. Examples: not available - upstream's expected output is \"unchanged\", so there is no before/after pair to show.\n\n---\n_Filed from an upstream-watch ticket after manual review._","author":{"url":"https://github.com/abashev","@type":"Person","name":"abashev"},"datePublished":"2026-10-30T10:02:30Z","url":"https://github.com/openjavaformat/open-java-format/issues/172"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:d8a7db20-9b80-9472-c24f-8e4c29dceafc current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id D716:14FED7:28DAB0:367D61:6AFBB793 html-safe-nonce e366466d42bec0632e1f23008699dadad263bd02b63d4f210f0a740a915abef6 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzE2OjE0RkVENzoyOERBQjA6MzY3RDYxOjZBRkJCNzkzIiwidmlzaXRvcl9pZCI6IjQ1OTUzODkyMzQ5NjkwMzI1OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac ec53ded02e4456360f5c456cee37e1540e26c149ef88366c43c47a0ddb672012 hovercard-subject-tag issue:6117020549 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/openjavaformat/open-java-format/172/issue_layout twitter:image https://opengraph.githubassets.com/0fd6119535d09934115f36e98c0b9d183385df1ac53ee438d731ddf2e21608cd/openjavaformat/open-java-format/issues/172 twitter:card summary_large_image og:image https://opengraph.githubassets.com/0fd6119535d09934115f36e98c0b9d183385df1ac53ee438d731ddf2e21608cd/openjavaformat/open-java-format/issues/172 og:image:alt Upstream: google/google-java-format#1509 Kind: bug | Priority: low google-java-format#1509 (merged 2026-10-29, copybara export) only adds tests that document a limitation: in a classic Javadoc comm... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username abashev hostname github.com expected-hostname github.com None 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c turbo-cache-control no-preview go-import github.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git octolytics-dimension-user_id 325177626 octolytics-dimension-user_login openjavaformat octolytics-dimension-repository_id 1288055459 octolytics-dimension-repository_nwo openjavaformat/open-java-format octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork true octolytics-dimension-repository_parent_id 214273098 octolytics-dimension-repository_parent_nwo palantir/palantir-java-format octolytics-dimension-repository_network_root_id 214273098 octolytics-dimension-repository_network_root_nwo palantir/palantir-java-format turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release e4cce0e99cf61481a318ff12c2e8580153a6c7c6 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.