Skip to content

Commit

Permalink
8299616: [11u] Bootcycle build fails after JDK-8257679 backport
Browse files Browse the repository at this point in the history
Reviewed-by: andrew, clanger
  • Loading branch information
shipilev committed Jan 4, 2023
1 parent 52737cd commit 6073296
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion make/autoconf/bootcycle-spec.gmk.in
Expand Up @@ -28,11 +28,19 @@
# First include the real base spec.gmk file
include @SPEC@

# Override specific values to do a boot cycle build
# Check that the user did not try to specify a different java to use for compiling.
# On windows we need to account for fixpath being first word.
ifeq ($(firstword $(JAVA)),$(FIXPATH))
JAVA_EXEC_POS=2
else
JAVA_EXEC_POS=1
endif
ifneq ($(word $(JAVA_EXEC_POS),$(SJAVAC_SERVER_JAVA)),$(word $(JAVA_EXEC_POS),$(JAVA)))
$(error Bootcycle builds are not possible if --with-sjavac-server-java is specified)
endif

# Override specific values to do a boot cycle build

# Use a different Boot JDK
BOOT_JDK := $(JDK_IMAGE_DIR)

Expand Down

1 comment on commit 6073296

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.