Skip to content
Permalink
Browse files

[JVM] Use --release 9 instead of -source 1.9

This avoids a warning about -bootclasspath being needed; similiar to
perl6/nqp@104a5ce
  • Loading branch information...
usev6 committed Jun 17, 2019
1 parent 34c0e89 commit b1fac3d6f112b19ed26152cc51c24627679dba13
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/templates/jvm/Makefile.in
@@ -91,7 +91,7 @@ check_@backend_prefix@_nqp_version: @@script(check-nqp-version.pl)@@

$(RUNTIME_JAR): $(RUNTIME_JAVAS)
$(MKPATH) bin
$(JAVAC) -source 1.9 -cp @q($(BLD_NQP_JARS))@ -g -d bin -encoding UTF8 $(RUNTIME_JAVAS)
$(JAVAC) --release 9 -cp @q($(BLD_NQP_JARS))@ -g -d bin -encoding UTF8 $(RUNTIME_JAVAS)
$(JAR) cf0 rakudo-runtime.jar -C bin@slash@ .

$(PERL6_ML_JAR): @nfpl(src/Perl6/ModuleLoader.nqp src/vm/jvm/ModuleLoaderVMConfig.nqp src/vm/jvm/Perl6/JavaModuleLoader.nqp gen/nqp-version)@

0 comments on commit b1fac3d

Please sign in to comment.
You can’t perform that action at this time.