8171503: Nashorn build, test failures with the latest jdk9-dev forest - javadoc target and test target fail
authorsundar
Tue, 20 Dec 2016 19:37:31 +0530
changeset 42796 0ec334969fce
parent 42795 e67811f8ab6b
child 42797 915636aeadee
8171503: Nashorn build, test failures with the latest jdk9-dev forest - javadoc target and test target fail Reviewed-by: jlaskey
nashorn/make/build.xml
nashorn/make/project.properties
--- a/nashorn/make/build.xml	Sun Dec 18 15:37:51 2016 +0100
+++ b/nashorn/make/build.xml	Tue Dec 20 19:37:31 2016 +0530
@@ -278,7 +278,6 @@
       </classpath>
       <fileset dir="${dynalink.module.src.dir}" includes="**/*.java"/>
       <fileset dir="${nashorn.module.src.dir}" includes="**/*.java"/>
-      <fileset dir="${nashorn.shell.module.src.dir}" includes="**/*.java"/>
       <link href="http://docs.oracle.com/javase/8/docs/api/"/>
     </javadoc>
   </target>
--- a/nashorn/make/project.properties	Sun Dec 18 15:37:51 2016 +0100
+++ b/nashorn/make/project.properties	Tue Dec 20 19:37:31 2016 +0530
@@ -356,6 +356,7 @@
   -server \
   ${test.module.imports} \
   ${run.test.jvmargs.external} \
+  --add-modules jdk.scripting.nashorn.shell \
   ${nashorn.override.option} \
   -Dfile.encoding=UTF-8 \
   -Duser.language=${run.test.user.language} \