RFR: JDK-8189094: Change required boot jdk to JDK 9
Erik Joelsson
erik.joelsson at oracle.com
Wed Oct 18 08:13:47 UTC 2017
Hello Martin,
On 2017-10-17 19:54, Martin Buchholz wrote:
> Does $(INTERIM_LANGTOOLS_MODULES_COMMA) need to be repeated below? I
> would think you could drop it from --limit-modules
> +INTERIM_LANGTOOLS_ARGS := \
> + --limit-modules java.base,jdk.zipfs,$(INTERIM_LANGTOOLS_MODULES_COMMA) \
> + --add-modules $(INTERIM_LANGTOOLS_MODULES_COMMA) \
>
--limit-modules is needed because jdk.compiler.interim contains the same
packages as the system modules jdk.compiler, so we need to prevent the
runtime from resolving jdk.compiler (and the other base interim modules).
I spent a lot of trial and error before arriving at the set of arguments
used here.
/Erik
More information about the build-dev
mailing list