Skip to content

Commit

Permalink
Pass -Dfile.encoding=UTF-8 for z/OS (adoptium#3307)
Browse files Browse the repository at this point in the history
Signed-off-by: Mesbah-Alam <[email protected]>
  • Loading branch information
Mesbah-Alam authored Feb 1, 2022
1 parent 59d77dd commit 5a03ab3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 30 deletions.
4 changes: 4 additions & 0 deletions jck/jtrunner/JavaTestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@ public static boolean jckConfigurationForMultijvmWithNoAgent() throws Exception
concurrency = Runtime.getRuntime().availableProcessors() + 1;
concurrencyString = String.valueOf(concurrency);
}

if (platform.contains("zos")) {
extraJvmOptions += " -Dfile.encoding=UTF-8";
}

// Set the operating system as 'Windows' for Windows and 'other' for all other operating systems.
// If 'other' is specified when executing on Windows, then Windows specific settings such
Expand Down
22 changes: 0 additions & 22 deletions jck/runtime.api/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,6 @@
</test>
<test>
<testCaseName>jck-runtime-api-java_lang-Class</testCaseName>
<disables>
<disable>
<comment>Temporarily disabled on z/OS for backlog/issues/666</comment>
<platform>.*zos.*</platform>
<impl>ibm</impl>
<version>11</version>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
Expand Down Expand Up @@ -536,14 +528,6 @@
</test>
<test>
<testCaseName>jck-runtime-api-java_lang</testCaseName>
<disables>
<disable>
<comment>Temporarily disabled on z/OS for backlog/issues/669</comment>
<platform>.*zos.*</platform>
<impl>ibm</impl>
<version>11</version>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
Expand Down Expand Up @@ -683,12 +667,6 @@
<version>17</version>
<impl>openj9</impl>
</disable>
<disable>
<comment>Temporarily disabled on z/OS for backlog/issues/680</comment>
<platform>.*zos.*</platform>
<impl>ibm</impl>
<version>11</version>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
Expand Down
8 changes: 0 additions & 8 deletions jck/runtime.vm/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,6 @@
</test>
<test>
<testCaseName>jck-runtime-vm-module</testCaseName>
<disables>
<disable>
<comment>Temporarily disabled on z/OS for backlog/issues/583</comment>
<platform>.*zos.*</platform>
<impl>ibm</impl>
<version>11</version>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
Expand Down

0 comments on commit 5a03ab3

Please sign in to comment.