Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.30.0
Choose a base ref
...
head repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.30.1
Choose a head ref
  • 6 commits
  • 9 files changed
  • 3 contributors

Commits on Mar 16, 2026

  1. Configuration menu
    Copy the full SHA
    9826a90 View commit details
    Browse the repository at this point in the history
  2. Fix Jackson 2.21+ compatibility for JREThrowableFinalMethods (#1010)

    Remove @requiredargsconstructor which generates @ConstructorProperties on the all-args constructor, conflicting with the no-arg @JsonCreator. Change @JsonCreator to accept nullable parameters with defaults, matching the pattern from #1007.
    
    This resolves the InvalidDefinitionException: Conflicting property-based creators reported in issue #1003.
    timtebeek authored Mar 16, 2026
    Configuration menu
    Copy the full SHA
    c421ab1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Fix UpgradeToJava21 recipe ordering for switch expressions (#1012)

    Reorder recipes so IfElseIfConstructToSwitch runs before the switch expression conversion recipes. This ensures that if-else-if instanceof chains are converted to switches, then immediately to switch expressions in a single pass, instead of requiring two runs (fixes #1011).
    timtebeek authored Mar 18, 2026
    Configuration menu
    Copy the full SHA
    7948b9a View commit details
    Browse the repository at this point in the history
  2. Fix IfElseIfConstructToSwitch null safety regression (#1014)

    * Fix IfElseIfConstructToSwitch null safety regression (issue #1013)
    
    When converting instanceof chains to switch without an explicit null check,
    emit `case null, default` instead of just `default` to preserve instanceof's
    null-safe behavior. Previously, the recipe would generate code that throws NPE
    when the switched variable is null, unlike the original if-else chain.
    
    * Fix UpgradeToJava21Test expectation for case null, default
    timtebeek authored Mar 18, 2026
    Configuration menu
    Copy the full SHA
    062873e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd968d3 View commit details
    Browse the repository at this point in the history
  4. Fix Jetty EE10 duplicate oldArtifactId on ChangeDependencies. Reorder…

    … and bring in line with Jetty EE9 list (#1017)
    evie-lau authored Mar 18, 2026
    Configuration menu
    Copy the full SHA
    b9375e4 View commit details
    Browse the repository at this point in the history
Loading