8244097: make bootcycle-images fails after JDK-8244036

Co-authored-by: Jie Fu <jiefu@tencent.com>
Reviewed-by: ihse, erikj
This commit is contained in:
Magnus Ihse Bursie 2020-04-29 21:54:57 +08:00 committed by Jie Fu
parent 478773c102
commit 354033ecc7

View File

@ -347,7 +347,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# oldest supported bootjdk.
OLDEST_BOOT_JDK=`$ECHO $DEFAULT_ACCEPTABLE_BOOT_VERSIONS \
| $TR " " "\n" | $SORT -n | $HEAD -n1`
BOOT_JDK_SOURCETARGET="-source $OLDEST_BOOT_JDK -target $OLDEST_BOOT_JDK"
# -Xlint:-options is added to avoid "warning: [options] system modules path not set in conjunction with -source"
BOOT_JDK_SOURCETARGET="-source $OLDEST_BOOT_JDK -target $OLDEST_BOOT_JDK -Xlint:-options"
AC_SUBST(BOOT_JDK_SOURCETARGET)
# Check if the boot jdk is 32 or 64 bit