Skip to content

Fix IBMSemeruTest for updated ChangeType wildcard import handling#1026

Merged
timtebeek merged 1 commit intomainfrom
tim/fix-ci-failures
Mar 23, 2026
Merged

Fix IBMSemeruTest for updated ChangeType wildcard import handling#1026
timtebeek merged 1 commit intomainfrom
tim/fix-ci-failures

Conversation

@timtebeek
Copy link
Member

Summary

  • Updated two IBMSemeruTest tests (doNotUseSunNetSslInternalSslProvider and doNotUseSunNetSslInternalWwwProtocolHttpsHandler) to match new ChangeType behavior in rewrite-java core
  • The core now removes unused wildcard imports when all referenced types from that package have been changed, rather than leaving them behind
  • Removed now-unnecessary "do NOT flag" comments from the test text blocks since the wildcard imports they annotated are no longer retained in the expected output

Test plan

  • ./gradlew test --tests "org.openrewrite.java.migrate.IBMSemeruTest" passes (all 9 tests)

@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Mar 23, 2026
@timtebeek timtebeek merged commit 68f9289 into main Mar 23, 2026
1 check passed
@timtebeek timtebeek deleted the tim/fix-ci-failures branch March 23, 2026 18:41
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Mar 23, 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.

1 participant