rewrite-migrate-java
rewrite-migrate-java copied to clipboard
Fix #692: Replace "java.faces" in Java file strings
Fix #692: Replace "java.faces" in Java file strings
This is probably too optimistic isn't it? This would also change stuff like:
import javax.crypto.Cipher;
import javax.crypto.spec.GCMParameterSpec;
import javax.crypto.spec.SecretKeySpec;
We were left with some javax packages. This case (crypto) is working for us with Payara 6. I'm documenting all instances for us internally to review though.
yes this would only replace "javax.faces" in strings
Things like javax.crypto and javax.imageio don't get touched or converted to Jakarta ever there is a list of packages that get converted.
- Once https://github.com/openrewrite/rewrite/pull/5240 is merged we can adjust the ChangeType and ChangePackage recipes here to add
visitStringLiterals: True, and remove the text basedFindAndReplaceintroduced here.