Skip to content

Commit 0c2cb0a

Browse files
author
Vladimir Kempik
committed
Refactor CDS disabling
1 parent b3adff5 commit 0c2cb0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

make/autoconf/jvm-features.m4

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,13 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
264264
[
265265
JVM_FEATURES_CHECK_AVAILABILITY(cds, [
266266
AC_MSG_CHECKING([if platform is supported by CDS])
267-
if test "x$OPENJDK_TARGET_OS" != xaix && \
268-
!( test "x$OPENJDK_TARGET_OS" = "xmacosx" && \
267+
if test "x$OPENJDK_TARGET_OS" = xaix || \
268+
( test "x$OPENJDK_TARGET_OS" = "xmacosx" && \
269269
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ) ; then
270-
AC_MSG_RESULT([yes])
271-
else
272-
AC_MSG_RESULT([no, $OPENJDK_TARGET_OS])
270+
AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
273271
AVAILABLE=false
272+
else
273+
AC_MSG_RESULT([yes])
274274
fi
275275
])
276276
])

0 commit comments

Comments
 (0)