From 423907be8b21285b538b0cfc1c48a2c5e9dd0bb0 Mon Sep 17 00:00:00 2001 From: Jorge Bescos Gascon Date: Wed, 10 Aug 2022 15:44:46 +0200 Subject: [PATCH] Comment reviews Signed-off-by: Jorge Bescos Gascon --- tests/integration/property-check/pom.xml | 24 +++++++++++++++++++ ...ystemPropertiesConfigurationModelTest.java | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/tests/integration/property-check/pom.xml b/tests/integration/property-check/pom.xml index abe4c82cc06..8dc2f8b21e2 100644 --- a/tests/integration/property-check/pom.xml +++ b/tests/integration/property-check/pom.xml @@ -109,4 +109,28 @@ + + + + jdk19+ + + [19,) + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/SystemPropertiesConfigurationModelTest.java + + + + + + + + diff --git a/tests/integration/property-check/src/test/java/org/glassfish/jersey/internal/config/SystemPropertiesConfigurationModelTest.java b/tests/integration/property-check/src/test/java/org/glassfish/jersey/internal/config/SystemPropertiesConfigurationModelTest.java index a503eb58abc..3400c17ea0e 100644 --- a/tests/integration/property-check/src/test/java/org/glassfish/jersey/internal/config/SystemPropertiesConfigurationModelTest.java +++ b/tests/integration/property-check/src/test/java/org/glassfish/jersey/internal/config/SystemPropertiesConfigurationModelTest.java @@ -78,7 +78,6 @@ public void allPropertyClassLoaded() throws IOException { } @Test - @Ignore("System.setSecurityManager is deprecated in JDK 19 and there is no replacement") public void propertyLoadedWhenSecurityException() { final String TEST_STRING = "test"; SecurityManager sm = System.getSecurityManager();