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:
parent
478773c102
commit
354033ecc7
@ -347,7 +347,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
|
|||||||
# oldest supported bootjdk.
|
# oldest supported bootjdk.
|
||||||
OLDEST_BOOT_JDK=`$ECHO $DEFAULT_ACCEPTABLE_BOOT_VERSIONS \
|
OLDEST_BOOT_JDK=`$ECHO $DEFAULT_ACCEPTABLE_BOOT_VERSIONS \
|
||||||
| $TR " " "\n" | $SORT -n | $HEAD -n1`
|
| $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)
|
AC_SUBST(BOOT_JDK_SOURCETARGET)
|
||||||
|
|
||||||
# Check if the boot jdk is 32 or 64 bit
|
# Check if the boot jdk is 32 or 64 bit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user