Skip to content

Commit

Permalink
Remove IBM-1047 export options and create test config files in EBCDIC…
Browse files Browse the repository at this point in the history
… for JDK21+ on z/OS
  • Loading branch information
psoujany committed Dec 12, 2024
1 parent 7701ea1 commit 0ae6dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/openj9/envInfo/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public static Writer getWriterObject(int jdkVersion, String SpecInfo, String fil
try {
if (SpecInfo.toLowerCase().contains("zos") && (jdkVersion >= 21)) {
writer = new OutputStreamWriter(new FileOutputStream(fileName, true), Charset.forName("IBM-1047"));
System.out.println("Write configured for Sped : " +SpecInfo+ " with JDK " +jdkVersion);
System.out.println("Inside if Writer configured for Sped : " +SpecInfo+ " with JDK " +jdkVersion);
} else {
writer = new FileWriter(fileName, true);
System.out.println("Write configured for Sped : " +SpecInfo+ " with JDK " +jdkVersion);
System.out.println("Inside else Writer configured for Sped : " +SpecInfo+ " with JDK " +jdkVersion);
}
} catch(IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit 0ae6dd7

Please sign in to comment.