Use ZipException instead of ZipError

MSAL

Use ZipException instead of the deprecated ZipError in Java 25 or higher.

org.openrewrite.java.migrate.MigrateZipErrorToZipException
mod run . --recipe=org.openrewrite.java.migrate.MigrateZipErrorToZipException

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type ZipError to ZipException