src/hotspot/share/runtime/arguments.cpp
changeset 52508 bbbcd90f0adb
parent 52460 f1bb77833b59
child 52518 6f18c23b0185
--- a/src/hotspot/share/runtime/arguments.cpp	Tue Nov 13 13:42:39 2018 -0800
+++ b/src/hotspot/share/runtime/arguments.cpp	Tue Nov 13 16:49:58 2018 -0500
@@ -2074,17 +2074,10 @@
     option_type = ++spacer; // Set both to the empty string.
   }
 
-  if (os::obsolete_option(option)) {
-    jio_fprintf(defaultStream::error_stream(),
-                "Obsolete %s%soption: %s\n", option_type, spacer,
-      option->optionString);
-    return false;
-  } else {
-    jio_fprintf(defaultStream::error_stream(),
-                "Unrecognized %s%soption: %s\n", option_type, spacer,
-      option->optionString);
-    return true;
-  }
+  jio_fprintf(defaultStream::error_stream(),
+              "Unrecognized %s%soption: %s\n", option_type, spacer,
+              option->optionString);
+  return true;
 }
 
 static const char* user_assertion_options[] = {