Skip to content

Commit

Permalink
Create makefiles in IBM-1047 encoding for JDK21+ on z/OS
Browse files Browse the repository at this point in the history
  • Loading branch information
psoujany committed Dec 9, 2024
1 parent 85c56d8 commit 2c8d222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/openj9/envInfo/EnvDetector.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private static void getJavaInfo() {
try {
if (JDK_VERSION.matches("2\\d") && SPECInfo.contains("zos")) {
output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("autoGenEnv.mk"), Charset.forName("IBM-1047")));
System.out.println("I'm in 21");
} else {
output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("autoGenEnv.mk")));
}
Expand Down

0 comments on commit 2c8d222

Please sign in to comment.