8196739: Disable obsolete/expired VM flag transitional warnings
Reviewed-by: kbarrett
--- 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);
}
}
}