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

Reply via email to