8196739: Disable obsolete/expired VM flag transitional warnings
authordholmes
Mon, 05 Feb 2018 06:43:23 -0500
changeset 48745 74be5b4ed152
parent 48744 8eb786b3d73d
child 48746 c9ab849cd2f5
8196739: Disable obsolete/expired VM flag transitional warnings Reviewed-by: kbarrett
src/hotspot/share/runtime/arguments.cpp
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Feb 05 06:42:42 2018 -0500
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Feb 05 06:43:23 2018 -0500
@@ -729,7 +729,8 @@
       // if flag has become obsolete it should not have a "globals" flag defined anymore.
       if (!version_less_than(JDK_Version::current(), flag.obsolete_in)) {
         if (Flag::find_flag(flag.name) != NULL) {
-          warning("Global variable for obsolete special flag entry \"%s\" should be removed", flag.name);
+          // Temporarily disable the warning: 8196739
+          // warning("Global variable for obsolete special flag entry \"%s\" should be removed", flag.name);
         }
       }
     }
@@ -738,7 +739,8 @@
       // if flag has become expired it should not have a "globals" flag defined anymore.
       if (!version_less_than(JDK_Version::current(), flag.expired_in)) {
         if (Flag::find_flag(flag.name) != NULL) {
-          warning("Global variable for expired flag entry \"%s\" should be removed", flag.name);
+          // Temporarily disable the warning: 8196739
+          // warning("Global variable for expired flag entry \"%s\" should be removed", flag.name);
         }
       }
     }