Skip to content

Commit 1d3da2b

Browse files
committed
Merge
2 parents 0d55602 + 181845a commit 1d3da2b

File tree

472 files changed

+6039
-9345
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

472 files changed

+6039
-9345
lines changed

.github/actions/get-jtreg/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,7 @@ runs:
5757
- name: 'Build JTReg'
5858
run: |
5959
# Build JTReg and move files to the proper locations
60-
bash make/build.sh --jdk "$JAVA_HOME_11_X64"
60+
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
6161
mkdir ../installed
6262
mv build/images/jtreg/* ../installed
6363
working-directory: jtreg/src

make/GraalBuilderImage.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ $(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
4343
TARGETS += $(COPY_JDK_IMG)
4444

4545
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS, \
46-
SRC := $(STATIC_LIBS_IMAGE_DIR)/lib, \
46+
SRC := $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib, \
4747
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/lib, \
4848
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
49-
$(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)/lib)), \
49+
$(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib)), \
5050
))
5151
TARGETS += $(COPY_STATIC_LIBS)
5252

make/Init.gmk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -138,7 +138,10 @@ ifeq ($(HAS_SPEC),)
138138
# The spec files depend on the autoconf source code. This check makes sure
139139
# the configuration is up to date after changes to configure.
140140
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
141-
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*))
141+
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
142+
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
143+
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
144+
version-numbers.conf branding.conf)))
142145
ifeq ($(CONF_CHECK), fail)
143146
@echo Error: The configuration is not up to date for \
144147
"'$(lastword $(subst /, , $(dir $@)))'."

make/Main.gmk

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ ALL_TARGETS += $(LAUNCHER_TARGETS)
233233
HOTSPOT_VARIANT_TARGETS := $(addprefix hotspot-, $(JVM_VARIANTS))
234234
HOTSPOT_VARIANT_GENSRC_TARGETS := $(addsuffix -gensrc, $(HOTSPOT_VARIANT_TARGETS))
235235
HOTSPOT_VARIANT_LIBS_TARGETS := $(addsuffix -libs, $(HOTSPOT_VARIANT_TARGETS))
236+
HOTSPOT_VARIANT_STATIC_LIBS_TARGETS := $(addsuffix -static-libs, $(HOTSPOT_VARIANT_TARGETS))
236237

237238
define DeclareHotspotGensrcRecipe
238239
hotspot-$1-gensrc:
@@ -251,6 +252,14 @@ endef
251252

252253
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
253254

255+
define DeclareHotspotStaticLibsRecipe
256+
hotspot-$1-static-libs:
257+
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f lib/CompileLibraries.gmk \
258+
JVM_VARIANT=$1 STATIC_LIBS=true)
259+
endef
260+
261+
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotStaticLibsRecipe,$v)))
262+
254263
$(eval $(call SetupTarget, hotspot-ide-project, \
255264
MAKEFILE := ide/visualstudio/hotspot/CreateVSProject, \
256265
DEPS := hotspot exploded-image, \
@@ -298,7 +307,7 @@ $(eval $(call SetupTarget, eclipse-shared-mixed-env, \
298307
))
299308

300309
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
301-
$(HOTSPOT_VARIANT_LIBS_TARGETS)
310+
$(HOTSPOT_VARIANT_LIBS_TARGETS) $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS)
302311

303312
################################################################################
304313
# Help and user support
@@ -462,6 +471,12 @@ $(eval $(call SetupTarget, symbols-image, \
462471

463472
$(eval $(call SetupTarget, static-libs-image, \
464473
MAKEFILE := StaticLibsImage, \
474+
TARGET := static-libs-image, \
475+
))
476+
477+
$(eval $(call SetupTarget, static-libs-graal-image, \
478+
MAKEFILE := StaticLibsImage, \
479+
TARGET := static-libs-graal-image, \
465480
))
466481

467482
$(eval $(call SetupTarget, mac-jdk-bundle, \
@@ -489,7 +504,7 @@ $(eval $(call SetupTarget, exploded-image-optimize, \
489504

490505
$(eval $(call SetupTarget, graal-builder-image, \
491506
MAKEFILE := GraalBuilderImage, \
492-
DEPS := jdk-image static-libs-image, \
507+
DEPS := jdk-image static-libs-graal-image, \
493508
))
494509

495510
ifeq ($(JCOV_ENABLED), true)
@@ -889,6 +904,7 @@ else
889904
$(foreach v, $(JVM_VARIANTS), \
890905
$(eval hotspot-$v-gensrc: java.base-copy buildtools-hotspot) \
891906
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
907+
$(eval hotspot-$v-static-libs: hotspot-$v-gensrc java.base-copy) \
892908
)
893909

894910
# If not already set, set the JVM variant target so that the JVM will be built.
@@ -1047,7 +1063,9 @@ else
10471063

10481064
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
10491065

1050-
static-libs-image: $(STATIC_LIBS_TARGETS)
1066+
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
1067+
1068+
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
10511069

10521070
bootcycle-images: jdk-image
10531071

@@ -1097,6 +1115,7 @@ hotspot: $(HOTSPOT_VARIANT_TARGETS)
10971115
$(foreach v, $(JVM_VARIANTS), \
10981116
$(eval hotspot-libs: hotspot-$v-libs) \
10991117
$(eval hotspot-gensrc: hotspot-$v-gensrc) \
1118+
$(eval hotspot-static-libs: hotspot-$v-static-libs) \
11001119
)
11011120

11021121
gensrc: $(GENSRC_TARGETS)
@@ -1259,7 +1278,8 @@ all-images: product-images test-image all-docs-images
12591278
# all-bundles packages all our deliverables as tar.gz bundles.
12601279
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
12611280

1262-
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
1281+
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
1282+
hotspot-gensrc gensrc gendata \
12631283
copy java libs static-libs launchers jmods \
12641284
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
12651285
exploded-image-base exploded-image runnable-buildjdk \

make/StaticLibsImage.gmk

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -38,19 +38,43 @@ ALL_MODULES = $(call FindAllModules)
3838

3939
TARGETS :=
4040

41+
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
42+
IMAGE_DEST_DIR=$(STATIC_LIBS_IMAGE_DIR)/lib
43+
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
44+
IMAGE_DEST_DIR=$(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
45+
endif
46+
47+
# Copy JDK static libs to the image.
4148
$(foreach m, $(ALL_MODULES), \
4249
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
4350
FLATTEN := true, \
4451
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
45-
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
52+
DEST := $(IMAGE_DEST_DIR), \
4653
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
4754
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
4855
)) \
4956
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
57+
$(eval STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$m)) \
5058
)
5159

60+
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
61+
# Copy libjvm static library to the image.
62+
$(foreach v, $(JVM_VARIANTS), \
63+
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$v, \
64+
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static, \
65+
DEST := $(IMAGE_DEST_DIR)/$v, \
66+
FILES := $(wildcard $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static/*$(STATIC_LIBRARY_SUFFIX)), \
67+
)) \
68+
$(eval TARGETS += $$(COPY_STATIC_LIBS_$v)) \
69+
$(eval HOTSPOT_VARIANT_STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$v)) \
70+
)
71+
endif
72+
5273
################################################################################
5374

75+
static-libs-image: $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS) $(STATIC_LIBS_TARGETS)
76+
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
77+
5478
all: $(TARGETS)
5579

5680
.PHONY: all

make/autoconf/flags-ldflags.m4

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
7272
7373
BASIC_LDFLAGS_JVM_ONLY=""
7474
75+
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
76+
7577
elif test "x$TOOLCHAIN_TYPE" = xclang; then
7678
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
7779
-fPIC"
80+
81+
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
82+
7883
if test "x$OPENJDK_TARGET_OS" = xaix; then
7984
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
8085
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
@@ -161,6 +166,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
161166
# Export some intermediate variables for compatibility
162167
LDFLAGS_CXX_JDK="$BASIC_LDFLAGS_ONLYCXX $BASIC_LDFLAGS_ONLYCXX_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY"
163168
AC_SUBST(LDFLAGS_CXX_JDK)
169+
AC_SUBST(LDFLAGS_CXX_PARTIAL_LINKING)
164170
])
165171

166172
################################################################################

make/autoconf/flags.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
301301
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
302302
EXTRA_ASFLAGS="$USER_ASFLAGS"
303303
304+
AC_SUBST(MACHINE_FLAG)
304305
AC_SUBST(EXTRA_CFLAGS)
305306
AC_SUBST(EXTRA_CXXFLAGS)
306307
AC_SUBST(EXTRA_LDFLAGS)

make/autoconf/lib-ffi.m4

Lines changed: 60 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
5757
5858
if test "x${with_libffi}" != x; then
5959
LIBFFI_LIB_PATH="${with_libffi}/lib"
60-
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
60+
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
61+
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
62+
else
63+
LIBFFI_LIBS="${with_libffi}/lib/libffi.lib"
64+
fi
6165
LIBFFI_CFLAGS="-I${with_libffi}/include"
6266
LIBFFI_FOUND=yes
6367
fi
@@ -67,7 +71,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
6771
fi
6872
if test "x${with_libffi_lib}" != x; then
6973
LIBFFI_LIB_PATH="${with_libffi_lib}"
70-
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
74+
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
75+
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
76+
else
77+
LIBFFI_LIBS="${with_libffi_lib}/libffi.lib"
78+
fi
7179
LIBFFI_FOUND=yes
7280
fi
7381
# Do not try pkg-config if we have a sysroot set.
@@ -106,12 +114,13 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
106114
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
107115
fi
108116
109-
AC_MSG_CHECKING([if libffi works])
110117
AC_LANG_PUSH(C)
111118
OLD_CFLAGS="$CFLAGS"
112119
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
113120
OLD_LIBS="$LIBS"
114121
LIBS="$LIBS $LIBFFI_LIBS"
122+
123+
AC_MSG_CHECKING([if libffi works])
115124
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
116125
[
117126
ffi_call(NULL, NULL, NULL, NULL);
@@ -120,49 +129,78 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
120129
[LIBFFI_WORKS=yes],
121130
[LIBFFI_WORKS=no]
122131
)
123-
CFLAGS="$OLD_CFLAGS"
124-
LIBS="$OLD_LIBS"
125-
AC_LANG_POP(C)
126132
AC_MSG_RESULT([$LIBFFI_WORKS])
127133
128134
if test "x$LIBFFI_WORKS" = xno; then
129135
HELP_MSG_MISSING_DEPENDENCY([ffi])
130136
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
131137
fi
132138
139+
# Check if FFI_GO_CLOSURES is properly defined. On some distributions, notably MacOS AArch64,
140+
# ffitarget.h (included from ffi.h) does not explicitly define FFI_GO_CLOSURES. This makes the
141+
# further include of ffi.h trigger the "FFI_GO_CLOSURES is undefined" warning, which fails
142+
# the build when warnings are fatal.
143+
AC_MSG_CHECKING([for FFI_GO_CLOSURES definition])
144+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
145+
#include <ffi.h>
146+
#ifndef FFI_GO_CLOSURES
147+
#error "FFI_GO_CLOSURES is not defined"
148+
#endif
149+
][])],
150+
[
151+
AC_MSG_RESULT([yes])
152+
],
153+
[
154+
AC_MSG_RESULT([no, defining])
155+
LIBFFI_CFLAGS="$LIBFFI_CFLAGS -DFFI_GO_CLOSURES=0"
156+
]
157+
)
158+
159+
CFLAGS="$OLD_CFLAGS"
160+
LIBS="$OLD_LIBS"
161+
AC_LANG_POP(C)
162+
133163
# Find the libffi.so.X to bundle
134164
if test "x${ENABLE_LIBFFI_BUNDLING}" = "xtrue"; then
165+
if test "x${OPENJDK_TARGET_OS}" = "xmacosx"; then
166+
LIBFFI_LIB_FILE_NAME=libffi.?.dylib
167+
elif test "x${OPENJDK_TARGET_OS}" = "xwindows"; then
168+
LIBFFI_LIB_FILE_NAME=libffi.dll
169+
else
170+
LIBFFI_LIB_FILE_NAME=libffi.so.?
171+
fi
172+
135173
AC_MSG_CHECKING([for libffi lib file location])
136174
if test "x${LIBFFI_LIB_PATH}" != x; then
137-
if test -e ${LIBFFI_LIB_PATH}/libffi.so.?; then
138-
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/libffi.so.?"
175+
if test -e ${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}; then
176+
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}"
139177
else
140-
AC_MSG_ERROR([Could not locate libffi.so.? for bundling in ${LIBFFI_LIB_PATH}])
178+
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling in ${LIBFFI_LIB_PATH}])
141179
fi
142180
else
143181
# If we don't have an explicit path, look in a few obvious places
144182
if test "x${OPENJDK_TARGET_CPU}" = "xx86"; then
145-
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
146-
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
147-
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.? ; then
148-
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.?"
183+
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
184+
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
185+
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
186+
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
149187
else
150-
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
188+
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
151189
fi
152190
elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64" || test "x${OPENJDK_TARGET_CPU}" = "xaarch64"; then
153-
if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then
154-
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?"
155-
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then
156-
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.?"
191+
if test -e ${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME} ; then
192+
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME}"
193+
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
194+
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
157195
else
158-
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
196+
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
159197
fi
160198
else
161199
# Fallback on the default /usr/lib dir
162-
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
163-
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
200+
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
201+
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
164202
else
165-
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
203+
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
166204
fi
167205
fi
168206
fi

make/autoconf/platform.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -677,11 +677,10 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
677677
PLATFORM_CHECK_DEPRECATION
678678
])
679679

680-
AC_DEFUN_ONCE([PLATFORM_CHECK_DEPRECATION],
680+
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
681681
[
682682
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
683683
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
684-
AC_REQUIRE([PLATFORM_EXTRACT_TARGET_AND_BUILD])
685684
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
686685
if test "x$enable_deprecated_ports" = "xyes"; then
687686
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])

0 commit comments

Comments
 (0)