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 4904597 commit 8cb3d2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ endif

UNAME := uname
UNAME_OS := $(shell $(UNAME) -s | cut -f1 -d_)
$(info UNAME_OS is $(UNAME_OS))
ifeq ($(findstring CYGWIN,$(UNAME_OS)), CYGWIN)
LIB_DIR:=$(shell cygpath -w $(LIB_DIR))
endif
Expand Down
2 changes: 1 addition & 1 deletion src/org/openj9/envInfo/EnvDetector.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private static void getJavaInfo() {
output.write(JDK_VENDOR);
output.write(TEST_FLAG);
output.close();
if (JDK_VERSION.matches("2\\d") && SPECInfo.contains("zos")) {
if ((javaVersionInfo >= 21) && SPECInfo.contains("zos")) {
output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("AQACert.log"), Charset.forName("IBM-1047")));
} else {
output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("AQACert.log")));
Expand Down

0 comments on commit 8cb3d2f

Please sign in to comment.