From 04d21c488069c9320e91c635afe9be69e2b8cc9e Mon Sep 17 00:00:00 2001 From: Juan Manuel Leflet Estrada Date: Mon, 31 Jul 2023 11:20:46 +0200 Subject: [PATCH] [WINDUPRULE-1014] Fix rule message and divide it in two --- .../openjdk17/removed-apis.windup.xml | 23 +++++++++++++------ .../tests/removed-apis.windup.test.xml | 16 +++++++++++-- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/rules/rules-reviewed/openjdk21/openjdk17/removed-apis.windup.xml b/rules/rules-reviewed/openjdk21/openjdk17/removed-apis.windup.xml index 166d4006b..8e3bcb972 100644 --- a/rules/rules-reviewed/openjdk21/openjdk17/removed-apis.windup.xml +++ b/rules/rules-reviewed/openjdk21/openjdk17/removed-apis.windup.xml @@ -40,7 +40,7 @@ - + The `java.lang.ThreadGroup.allowThreadSuspension` method has been removed and cannot be used anymore. @@ -49,15 +49,24 @@ - - - - + + + + + + The `java.lang.Compiler` method has been removed and cannot be used anymore. + + + + + + + - + - This class has been removed and cannot be used anymore. + The `javax.management.remote.rmi.RMIIIOPServerImpl` method has been removed and cannot be used anymore. diff --git a/rules/rules-reviewed/openjdk21/openjdk17/tests/removed-apis.windup.test.xml b/rules/rules-reviewed/openjdk21/openjdk17/tests/removed-apis.windup.test.xml index b128df6d0..8a993dd21 100644 --- a/rules/rules-reviewed/openjdk21/openjdk17/tests/removed-apis.windup.test.xml +++ b/rules/rules-reviewed/openjdk21/openjdk17/tests/removed-apis.windup.test.xml @@ -33,8 +33,8 @@ - - + + @@ -42,6 +42,18 @@ + + + + + + + + + + + +