Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use --release 9 instead of -source 1.9 in the JVM's Makefile
This shuts up warnings about the target being the wrong version of the
JDK and warnings about -bootclasspath being needed.
  • Loading branch information
Kaiepi committed Jun 10, 2019
1 parent f2b319d commit 104a5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/templates/jvm/Makefile.in
Expand Up @@ -130,7 +130,7 @@ j-install: j-all

$(RUNTIME_JAR): $(RUNTIME_JAVAS) @mkquot(@script(gen-jvm-properties.pl)@)@
$(PERL5) -MExtUtils::Command -e mkpath bin
$(JAVAC) -source 1.9 -cp @q($(THIRDPARTY_JARS))@ -g -d bin -encoding UTF8 $(RUNTIME_JAVAS)
$(JAVAC) --release 9 -cp @q($(THIRDPARTY_JARS))@ -g -d bin -encoding UTF8 $(RUNTIME_JAVAS)
$(PERL5) @shquot(@script(gen-jvm-properties.pl)@)@ . @q($(THIRDPARTY_JARS))@ > jvmconfig.properties
$(PERL5) @shquot(@script(gen-jvm-properties.pl)@)@ @nfpq(@prefix@)@ @q($(THIRDPARTY_JARS))@ > @nfpq(bin/jvmconfig.properties)@
$(JAR) cf0 nqp-runtime.jar -C @nfp(bin/)@ .
Expand Down

0 comments on commit 104a5ce

Please sign in to comment.