-
Notifications
You must be signed in to change notification settings - Fork 114
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v3.27.0
head repository: openrewrite/rewrite-migrate-java
compare: v3.27.1
- 6 commits
- 12 files changed
- 4 contributors
Commits on Feb 11, 2026
-
Add UpgradePluginsForJava25 for surefire, failsafe, compiler, and byt…
…e-buddy (#981) * Add UpgradePluginsForJava25 for surefire, failsafe, compiler, and byte-buddy Closes moderneinc/customer-requests#1820 * Regenerate recipes.csv * Move `SetupJavaUpgradeJavaVersion` for consistency * Use `.actual()` * Apply suggestions * Move comment --------- Co-authored-by: Tim te Beek <tim@mac.home>
Configuration menu - View commit details
-
Copy full SHA for 0efab1c - Browse repository at this point
Copy the full SHA 0efab1cView commit details
Commits on Feb 14, 2026
-
Skip adding methods already provided by a superclass (#983)
* Add failing test for superclass method check When a class extends a superclass that already has the method implementation, AddMissingMethodImplementation should not add the method again. Reproduces moderneinc/customer-requests#1862 * Skip adding methods already provided by a superclass AddMissingMethodImplementation now walks up the superclass chain to check if the method is already inherited, avoiding unnecessary duplicate method additions to classes like HikariDataSource subclasses. Fixes moderneinc/customer-requests#1862 * Remove @issue annotation pointing to private repo
Configuration menu - View commit details
-
Copy full SHA for 7a5a1b0 - Browse repository at this point
Copy the full SHA 7a5a1b0View commit details
Commits on Feb 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 21993f5 - Browse repository at this point
Copy the full SHA 21993f5View commit details -
Prevent UseTextBlocks from dropping comments in concatenations (#985)
Skip text block conversion if any comments exist in the binary expression tree, since text blocks (single J.Literal nodes) have nowhere to preserve inline comments from the middle of concatenations. Co-authored-by: Tim te Beek <tim@mac.home>
Configuration menu - View commit details
-
Copy full SHA for e91f59e - Browse repository at this point
Copy the full SHA e91f59eView commit details
Commits on Feb 17, 2026
-
Prevent LombokValToFinalVar from removing star imports (#986)
* Prevent LombokValToFinalVar from removing star imports LombokValToFinalVar unconditionally called `maybeRemoveImport("lombok.var")` in `visitCompilationUnit` on every file matching the `MaybeUsesImport` precondition. This matched files with `import lombok.*;` even when no val/var was used. In multi-module projects with incomplete type information, `maybeRemoveImport` could not determine that other lombok types (like @DaTa, @Getter) were still referenced, and removed the entire star import. Now only calls `maybeRemoveImport` when there is an explicit `import lombok.var;` statement, leaving star imports untouched. Fixes #962 * Apply suggestions from code review * Apply suggestion from @Jenson3210Configuration menu - View commit details
-
Copy full SHA for 0c1793f - Browse repository at this point
Copy the full SHA 0c1793fView commit details -
Retain javax.xml.bind:jaxb-api when jackson-module-jaxb-annotations i…
…s present (#987) * Retain javax.xml.bind:jaxb-api when jackson-module-jaxb-annotations is present When migrating from javax.xml.bind to jakarta.xml.bind 3.0+, the ChangeDependency recipe replaces javax.xml.bind:jaxb-api entirely. However, jackson-module-jaxb-annotations still depends on the javax.xml.bind namespace at runtime through its transitive dependency on jakarta.xml.bind:jakarta.xml.bind-api:2.3.x (the bridge version). When version resolution upgrades to 3.0.x+, the javax.xml.bind classes disappear, causing NoClassDefFoundError. This adds a RetainJaxbApiForJackson recipe that re-adds javax.xml.bind:jaxb-api as a runtime dependency when jackson-module-jaxb-annotations is detected on the classpath, for both Gradle and Maven projects. Fixes #504 * Update recipes.csv with RetainJaxbApiForJackson * Replace imperative recipe with declarative YAML, use actual() in tests Address PR feedback: - Replace imperative RetainJaxbApiForJackson.java with declarative YAML recipes using FindDependency preconditions (split into Gradle and Maven variants since ModuleHasDependency is a ScanningRecipe which doesn't work as a declarative precondition) - Use assertThat().actual() instead of return in test assertions * Update recipes.csv for new declarative recipes * Consolidate into single declarative recipe using DependencyInsight precondition Replace the Gradle/Maven split with a single declarative recipe that uses DependencyInsight as a cross-platform precondition instead of build-system specific FindDependency recipes.
Configuration menu - View commit details
-
Copy full SHA for 56b280c - Browse repository at this point
Copy the full SHA 56b280cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.27.0...v3.27.1