--- old/src/jdk.jartool/share/classes/sun/tools/jar/Main.java	2016-12-01 14:57:06.158027489 -0800
+++ new/src/jdk.jartool/share/classes/sun/tools/jar/Main.java	2016-12-01 14:57:05.864028591 -0800
@@ -774,6 +774,12 @@
         /* parse file arguments */
         int n = args.length - count;
         if (n > 0) {
+            if (printModuleDescriptor) {
+                // "--print-module-descriptor/-d" does not require file argument(s)
+                error(formatMsg("error.bad.dflag", args[count]));
+                usageError();
+                return false;
+            }
             int version = BASE_VERSION;
             int k = 0;
             String[] nameBuf = new String[n];