From df52b0c1595196d18ef1008e927e78309b5bd3cb Mon Sep 17 00:00:00 2001 From: Anna Babu Palathingal <148897727+annaibm@users.noreply.github.com> Date: Tue, 11 Jun 2024 17:39:20 -0400 Subject: [PATCH] adde spaces --- .../test.sharedClasses/net/openj9/stf/SharedClasses.java | 1 - .../src/test.sharedClasses/net/openj9/test/sc/JavaGen.java | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/stf/SharedClasses.java b/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/stf/SharedClasses.java index ca13537..1d1f8d9 100644 --- a/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/stf/SharedClasses.java +++ b/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/stf/SharedClasses.java @@ -187,7 +187,6 @@ public void setUp(StfCoreExtension test, StfSharedClassesExtension sharedClasses // If not, create them in the first -systemtest-prereqs directory (or the default location if no -systemtest-prereqs were supplied). DirectoryRef sharedClassesDataDir = null; // This will be initialised when we find it. int javaVersion = test.env().primaryJvm().getJavaVersion(); - System.out.println("java.version = " + javaVersion); String dataSubdir = "sharedClassesTestData/v1"; ArrayList prereqRoots = test.env().getPrereqRoots(); String classFileName = "classes_jdk" + javaVersion + ".jar"; diff --git a/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/test/sc/JavaGen.java b/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/test/sc/JavaGen.java index 47e01fd..e2ac49f 100644 --- a/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/test/sc/JavaGen.java +++ b/openj9.test.sharedClasses/src/test.sharedClasses/net/openj9/test/sc/JavaGen.java @@ -96,9 +96,9 @@ public static void main(String[] args) } - void go(String path, int numArg, int javaVersion) { + void go(String path, int numArg, int javaVersion) { log("Creating source files"); - makeJavas(path, numArg,javaVersion); //Make java source files + makeJavas(path, numArg); //Make java source files log("Compiling java files"); compileJavas(path); //Compile Source to .class files log("Source files compiled, creating jar files"); @@ -120,9 +120,8 @@ public static void log(String message) { * @param directory String, the directory to write them into. * @param count int, the number of tests to generate. */ - private void makeJavas(String dir, int count, int javaVersion) + private void makeJavas(String dir, int count) { - System.out.println("dir:" + dir); String sl = System.getProperty("file.separator"); String directory = dir + sl + "net" + sl + "openj9" + sl + "sc" + sl + "classes";