## `Migrate to Java 21` apply changes commonly needed when migrating to Java `21` Issues: - #16998 - #16980 - #16985 - #16984 - #16986 Related: - https://github.com/openrewrite/rewrite-migrate-java/issues/712 - https://github.com/pmd/pmd/issues/5713 - https://github.com/apache/maven/pull/2281 - https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21
Migrate to Java 21apply changes commonly needed when migrating to Java
21Issues:
Migrate to Java 21 - infra#16998Migrate to Java 21 - code#16980Migrate to Java 21 - 'collect(toUnmodifiableList())' can be replaced with 'toList()'#16985Migrate to Java 21 - [noTrailingWhitespace] not aware of string block """#16984Migrate to Java 21 - fix keyword collision yield -> _yield#16986Related:
'URL(java.lang.String, java.lang.String, int, java.lang.String, java.net.URLStreamHandler)' is deprecated since version 20openrewrite/rewrite-migrate-java#712Migrate to Java 21pmd/pmd#5713Java 21- code apache/maven#2281