equal
deleted
inserted
replaced
303 |
303 |
304 # When compiling code to be executed by the Boot JDK, force jdk8 compatibility. |
304 # When compiling code to be executed by the Boot JDK, force jdk8 compatibility. |
305 BOOT_JDK_SOURCETARGET="-source 8 -target 8" |
305 BOOT_JDK_SOURCETARGET="-source 8 -target 8" |
306 AC_SUBST(BOOT_JDK_SOURCETARGET) |
306 AC_SUBST(BOOT_JDK_SOURCETARGET) |
307 |
307 |
308 ADD_JVM_ARG_IF_OK([--patch-module foo=bar], dummy, [$JAVA]) |
|
309 AC_MSG_CHECKING([if Boot JDK supports modules]) |
308 AC_MSG_CHECKING([if Boot JDK supports modules]) |
310 if test "x$JVM_ARG_OK" = "xtrue"; then |
309 if "$JAVA" --list-modules > /dev/null 2>&1; then |
311 AC_MSG_RESULT([yes]) |
310 AC_MSG_RESULT([yes]) |
312 BOOT_JDK_MODULAR="true" |
311 BOOT_JDK_MODULAR="true" |
313 else |
312 else |
314 AC_MSG_RESULT([no]) |
313 AC_MSG_RESULT([no]) |
315 BOOT_JDK_MODULAR="false" |
314 BOOT_JDK_MODULAR="false" |