Replace IllegalArgumentException with AlreadyConnectedException in DatagramChannel.send() method
MSALReplace IllegalArgumentException with AlreadyConnectedException for DatagramChannel.send() to ensure compatibility with Java 11+.
org. openrewrite. java. migrate. IllegalArgumentExceptionToAlreadyConnectedExceptionmod run . --recipe= org. openrewrite. java. migrate. IllegalArgumentExceptionToAlreadyConnectedExceptionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.