René's URL Explorer Experiment


Title: Bring over upstream PRs #1707 (Java 25 syntax) and #1786 (JDK 27 end positions) · Issue #22 · openjavaformat/open-java-format · GitHub

Open Graph Title: Bring over upstream PRs #1707 (Java 25 syntax) and #1786 (JDK 27 end positions) · Issue #22 · openjavaformat/open-java-format

X Title: Bring over upstream PRs #1707 (Java 25 syntax) and #1786 (JDK 27 end positions) · Issue #22 · openjavaformat/open-java-format

Description: What Two pull requests are open against palantir-java-format and not merged. Both stop the formatter from crashing on newer Java, and this fork has neither change. Upstream PR Author What it fixes Size State upstream palantir/palantir-ja...

Open Graph Description: What Two pull requests are open against palantir-java-format and not merged. Both stop the formatter from crashing on newer Java, and this fork has neither change. Upstream PR Author What it fixes ...

X Description: What Two pull requests are open against palantir-java-format and not merged. Both stop the formatter from crashing on newer Java, and this fork has neither change. Upstream PR Author What it fixes ...

Opengraph URL: https://github.com/openjavaformat/open-java-format/issues/22

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bring over upstream PRs #1707 (Java 25 syntax) and #1786 (JDK 27 end positions)","articleBody":"### What\n\nTwo pull requests are open against palantir-java-format and not merged. Both stop the formatter from crashing on newer Java, and this fork has neither change.\n\n| Upstream PR | Author | What it fixes | Size | State upstream |\n| --- | --- | --- | --- | --- |\n| [palantir/palantir-java-format#1707](https://github.com/palantir/palantir-java-format/pull/1707) | asm0dey | The formatter fails on `import module …;` (JEP 511), on compact source files with an instance `main` (JEP 512) and on unnamed patterns such as `case Box(_, _)` (JEP 456) | +981 −67, 40 files | Open since 2026-07-03. Reviewed in depth by a community member, several +1s, no maintainer response |\n| [palantir/palantir-java-format#1786](https://github.com/palantir/palantir-java-format/pull/1786) | slachiewicz | `NoSuchFieldError` on JDK 27, where JDK-8372948 removed `EndPosTable` and `JCCompilationUnit.endPositions`, plus the re-ordered `ParserFactory.newParser` flags | +87 −6, 5 files | Open since 2026-09-15. Waiting on the CLA, whose signing page returns an error for the author |\n\nChecked here: `open-java-format` has no handling of `JCModuleImport`, `IMPLICIT_CLASS` or `ANY_PATTERN`, and `Trees.getEndPosition` still reads `endPositions` directly.\n\n### Why here\n\nA fix that waits for months because nobody upstream picks it up is the case manifesto principle 6 describes. People on Java 25 cannot format these files today, and JDK 27 will break every user at once.\n\n### To decide first\n\n- **The compatibility promise.** The 2.x line promises output identical to the upstream release with the same version number. By their descriptions neither PR changes the output of a file that formats today: #1786 reports identical output on JDK 26 and 27, and #1707 turns errors into output. That has to be shown, not assumed, in particular for the `ImportOrderer` rewrite in #1707, which stops re-synthesising import declarations.\n- **The version number.** So far the fourth number counts rebuilds of an upstream version. A release that carries patches upstream does not have needs a stated rule.\n- **The next upstream sync.** If upstream merges either PR, the carried commits are dropped in favour of upstream's.\n\n### How\n\n- Keep the authorship: cherry-pick with the original authors, or squash with `Co-authored-by`, and name the upstream PR in the commit message.\n- Rewrite the paths while applying. Upstream's modules are `palantir-java-format/…` and `palantir-java-format-native/…`, here they are `open-java-format/…` and `open-java-format-native/…`. The Java packages are the same, so the code itself should apply cleanly.\n- Leave out what only exists upstream: `changelog/@unreleased/*.yml` and the `gradle/jdks/25/**` files. The README changes of #1707 need rewording for this README.\n- #1707 registers `ImportTree#isModule` in the native image's `reachability-metadata.json`. Carry that over to `open-java-format-native`.\n- #1707 adds test data that only a JDK 25 parser accepts, and wires a JDK 25 test run into `build.gradle`. CI tests on JDK 21 today, so that needs a toolchain or a matrix entry.\n\n### Done when\n\n- both changes are on `main` with their authors credited;\n- a corpus formatted by the 2.98.0.1 jar and by the new build gives identical output, through the equivalence gate if it exists by then;\n- the new test data passes on JDK 25, and the formatter runs on a JDK 27 early-access build;\n- the native binary formats a file with `import module`.\n","author":{"url":"https://github.com/abashev","@type":"Person","name":"abashev"},"datePublished":"2026-09-21T08:24:12Z","url":"https://github.com/openjavaformat/open-java-format/issues/22"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cb9fcfff-511a-efe9-41d6-03d23a9893a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA47A:1B697E:910EE:C8479:6AFBB791
html-safe-noncea4d0bb2e1eca4b9ad492e2ceee9d55722e685ee7858c6e29a0fab81b0d7ea050
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDdBOjFCNjk3RTo5MTBFRTpDODQ3OTo2QUZCQjc5MSIsInZpc2l0b3JfaWQiOiIzODM4MDg2MTMxNTkzNDkyMzY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace4ce2ca5f3cdcaf6cb58ea8e2e3ba8afc9231aaf1d1f3850b46d712b810c851a
hovercard-subject-tagissue:5524527655
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/openjavaformat/open-java-format/22/issue_layout
twitter:imagehttps://opengraph.githubassets.com/55ff24d524cc024301d4b7c4aa28a9768e5d727a4b7d33ad906f0477003238f1/openjavaformat/open-java-format/issues/22
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/55ff24d524cc024301d4b7c4aa28a9768e5d727a4b7d33ad906f0477003238f1/openjavaformat/open-java-format/issues/22
og:image:altWhat Two pull requests are open against palantir-java-format and not merged. Both stop the formatter from crashing on newer Java, and this fork has neither change. Upstream PR Author What it fixes ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
go-importgithub.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git
octolytics-dimension-user_id325177626
octolytics-dimension-user_loginopenjavaformat
octolytics-dimension-repository_id1288055459
octolytics-dimension-repository_nwoopenjavaformat/open-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id214273098
octolytics-dimension-repository_parent_nwopalantir/palantir-java-format
octolytics-dimension-repository_network_root_id214273098
octolytics-dimension-repository_network_root_nwopalantir/palantir-java-format
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/issues/22#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F22
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F22
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/issues/22
Reloadhttps://github.com/openjavaformat/open-java-format/issues/22
Reloadhttps://github.com/openjavaformat/open-java-format/issues/22
openjavaformathttps://github.com/openjavaformat
open-java-formathttps://github.com/openjavaformat/open-java-format
Codehttps://github.com/openjavaformat/open-java-format
Issues30 (30)https://github.com/openjavaformat/open-java-format/issues
Pull requests5 (5)https://github.com/openjavaformat/open-java-format/pulls
Discussionshttps://github.com/openjavaformat/open-java-format/discussions
Actionshttps://github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://github.com/openjavaformat/open-java-format/security
Insightshttps://github.com/openjavaformat/open-java-format/pulse
https://github.com/openjavaformat/open-java-format
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/22
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/22
#30https://github.com/openjavaformat/open-java-format/pull/30
Bring over upstream PRs #1707 (Java 25 syntax) and #1786 (JDK 27 end positions)https://github.com/openjavaformat/open-java-format/issues/22#top
#30https://github.com/openjavaformat/open-java-format/pull/30
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/abashev
abashevhttps://github.com/abashev
on Sep 21, 2026https://github.com/openjavaformat/open-java-format/issues/22#issue-5524527655
palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
palantir/palantir-java-format#1786https://github.com/palantir/palantir-java-format/pull/1786
Support JDK 27 (JDK-8372948, JDK-8268850) palantir/palantir-java-format#1786https://github.com/palantir/palantir-java-format/pull/1786
Format module imports, compact source files, and unnamed patterns palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
Format module imports, compact source files, and unnamed patterns palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
Format module imports, compact source files, and unnamed patterns palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
Format module imports, compact source files, and unnamed patterns palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
Format module imports, compact source files, and unnamed patterns palantir/palantir-java-format#1707https://github.com/palantir/palantir-java-format/pull/1707
abashevhttps://github.com/abashev
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Sep 21, 2026https://github.com/openjavaformat/open-java-format/issues/22#event-31513886180
abashevhttps://github.com/abashev
completedhttps://github.com/openjavaformat/open-java-format/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#30https://github.com/openjavaformat/open-java-format/pull/30
on Sep 23, 2026https://github.com/openjavaformat/open-java-format/issues/22#event-31685460033
Sign up for freehttps://github.com/signup?return_to=https://github.com/openjavaformat/open-java-format/issues/22
Sign in to commenthttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/22
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.