8165772: fix for 8165595 results in failure of jdk/test/tools/launcher/VersionCheck.java
Reviewed-by: alanb, jlaskey
--- a/make/CreateJmods.gmk Thu Sep 08 22:13:15 2016 +0000
+++ b/make/CreateJmods.gmk Mon Sep 12 18:25:49 2016 +0530
@@ -82,14 +82,6 @@
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.