Skip to content

Commit

Permalink
[JVM] Use --release 9 instead of -source 1.9
Browse files Browse the repository at this point in the history
This avoids a warning about -bootclasspath being needed; similiar to
Raku/nqp@104a5ce4d4
  • Loading branch information
usev6 committed Jun 17, 2019
1 parent 34c0e89 commit b1fac3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/templates/jvm/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)@
Expand Down

0 comments on commit b1fac3d

Please sign in to comment.