Flag deprecated JRE.OTHER in @EnabledOnJre/@DisabledOnJre
MSALJUnit 6.1 deprecated JRE.OTHER in favor of int/int[] annotation attributes. JRE.OTHER matches every JRE that has no constant, including future ones, so removing it (or the annotation's last array element) changes which JREs the test runs on, and has no mechanical replacement. This recipe makes no edits; it marks the annotations that use JRE.OTHER for manual review.
org. openrewrite. java. testing. junit6. RemoveJreOthermod run . --recipe= org. openrewrite. java. testing. junit6. RemoveJreOtherInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.