mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8196739: Disable obsolete/expired VM flag transitional warnings
Reviewed-by: kbarrett
This commit is contained in:
parent
b7c0ee5812
commit
3c2d19f0bc
1 changed files with 4 additions and 2 deletions
|
@ -729,7 +729,8 @@ static bool verify_special_jvm_flags() {
|
|||
// 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 @@ static bool verify_special_jvm_flags() {
|
|||
// 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue