changeset 49106:74be5b4ed152

8196739: Disable obsolete/expired VM flag transitional warnings Reviewed-by: kbarrett
author dholmes
date Mon, 05 Feb 2018 06:43:23 -0500
parents 8eb786b3d73d
children c9ab849cd2f5
files src/hotspot/share/runtime/arguments.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }
       }
     }