changeset 2710:6e62bbd02e6b

Merge
author lana
date Thu, 08 Sep 2016 22:13:15 +0000
parents 0b50a0d179fd 24efaaddd376
children 3a0e05d75dec 4ad4af1f5ce5
files
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/CreateJmods.gmk	Thu Sep 08 21:11:52 2016 +0000
+++ b/make/CreateJmods.gmk	Thu Sep 08 22:13:15 2016 +0000
@@ -82,6 +82,14 @@
   endif
 endif
 
+ifeq ($(MODULE), jdk.scripting.nashorn.shell)
+  JMOD_FLAGS += --main-class jdk.nashorn.tools.jjs.Main
+endif
+
+ifeq ($(MODULE), jdk.scripting.nashorn)
+  JMOD_FLAGS += --main-class jdk.nashorn.tools.Shell
+endif
+
 # Changes to the jmod tool itself should also trigger a rebuild of all jmods.
 # The variable JMOD_CMD could contain an environment variable assignment before
 # the actual command. Filter that out using wildcard before adding to DEPS.