From ac9d756df654890eb9ab294abd91abcc13b81dbc Mon Sep 17 00:00:00 2001 From: Alwin Joseph <44426046+alwin-joseph@users.noreply.github.com> Date: Thu, 31 Oct 2024 21:38:20 +0530 Subject: [PATCH] EL- use system property when setup not invoked (#1620) --- .../ts/tests/el/api/jakarta_el/variablemapper/ELClientTest.java | 2 +- .../main/java/com/sun/ts/tests/el/spec/mapper/ELClientTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/el/src/main/java/com/sun/ts/tests/el/api/jakarta_el/variablemapper/ELClientTest.java b/el/src/main/java/com/sun/ts/tests/el/api/jakarta_el/variablemapper/ELClientTest.java index f32ad29484..6cc092e60e 100644 --- a/el/src/main/java/com/sun/ts/tests/el/api/jakarta_el/variablemapper/ELClientTest.java +++ b/el/src/main/java/com/sun/ts/tests/el/api/jakarta_el/variablemapper/ELClientTest.java @@ -48,7 +48,7 @@ public class ELClientTest extends ServiceEETest { private static final Logger logger = System.getLogger(ELClientTest.class.getName()); - private Properties testProps; + private Properties testProps = System.getProperties(); public static void main(String[] args) { ELClientTest theTests = new ELClientTest(); diff --git a/el/src/main/java/com/sun/ts/tests/el/spec/mapper/ELClientTest.java b/el/src/main/java/com/sun/ts/tests/el/spec/mapper/ELClientTest.java index 997b5b4d80..d59b9fe28f 100644 --- a/el/src/main/java/com/sun/ts/tests/el/spec/mapper/ELClientTest.java +++ b/el/src/main/java/com/sun/ts/tests/el/spec/mapper/ELClientTest.java @@ -61,7 +61,7 @@ void logFinishTest(TestInfo testInfo) { logger.log(Logger.Level.INFO, "FINISHED TEST : " + testInfo.getDisplayName()); } - Properties testProps; + Properties testProps = System.getProperties(); public static void main(String[] args) { ELClientTest theTests = new ELClientTest();