hotspot/src/share/vm/runtime/arguments.cpp
changeset 30169 736fe315ddcb
parent 30130 386d3e9878bc
child 30227 fdb68fee3e41
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Apr 10 14:59:21 2015 +0000
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Apr 08 15:49:29 2015 +0300
@@ -3150,7 +3150,8 @@
       uintx max_tenuring_thresh = 0;
       if(!parse_uintx(tail, &max_tenuring_thresh, 0)) {
         jio_fprintf(defaultStream::error_stream(),
-                    "Invalid MaxTenuringThreshold: %s\n", option->optionString);
+          "Improperly specified VM option 'MaxTenuringThreshold=%s'\n", tail);
+        return JNI_EINVAL;
       }
       FLAG_SET_CMDLINE(uintx, MaxTenuringThreshold, max_tenuring_thresh);