Skip to content

Commit

Permalink
create autoGen makefile in ebcdic
Browse files Browse the repository at this point in the history
  • Loading branch information
psoujany committed Dec 9, 2024
1 parent 2a548c1 commit c4f7f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/openj9/envInfo/EnvDetector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.Writer;

public class EnvDetector {
static boolean isMachineInfo = false;
Expand Down Expand Up @@ -81,7 +81,7 @@ private static void getJavaInfo() {
/**
* autoGenEnv.mk file will be created to store auto detected java info.
*/
BufferedWriter output = null;
Writer output = null;
try {
if (JDK_VERSION.matches("2\\d") && SPEC.contains("zos")) {
output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("autoGenEnv.mk"), Charset.forName("IBM-1047")));
Expand Down

0 comments on commit c4f7f85

Please sign in to comment.