Visitar URL original
Supply a Java 25 compatible parser for Impsort 1.13 by jkschneider · Pull Request #1406 · openrewrite/rewrite-migrate-java · GitHub
Skip to content

Supply a Java 25 compatible parser for Impsort 1.13 - #1406

Merged
jkschneider merged 4 commits into
openrewrite:mainfrom
jkschneider:java25-impsort-parser
Nov 3, 2026
Merged

jkschneider merged 4 commits into
openrewrite:mainfrom
jkschneider:java25-impsort-parser

Conversation

@jkschneider

@jkschneider jkschneider commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Impsort 1.13.0 bundles JavaParser 3.28.0, which rejects valid switch yield statements when the project selects Java 25. Supply JavaParser 3.28.2 for the affected plugin version. Preserve newer and opaque parser versions, shared properties, unrelated dependencies, other plugin versions, and profile-specific configuration.

The scoped dependency utility is also included identically in the Plexus metadata fix. Validation: 22 Impsort and 22 Plexus regressions/controls pass independently, and native CI passes. Public parser artifacts reproduce the old rejection and new acceptance. Gizmo compiles and passes all 354 tests on Java 25 with the full recipe.

@jkschneider
jkschneider merged commit ab77ed2 into openrewrite:main Nov 3, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants