8312072: Deprecate for removal the -Xnoagent option

Reviewed-by: alanb, dholmes, cjplummer
This commit is contained in:
Jaikiran Pai 2023-07-18 05:41:37 +00:00
parent fbe51e388d
commit 8ec136e6f0
12 changed files with 23 additions and 23 deletions

View file

@ -2659,7 +2659,7 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
set_xdebug_mode(true);
// -Xnoagent
} else if (match_option(option, "-Xnoagent")) {
// For compatibility with classic. HotSpot refuses to load the old style agent.dll.
warning("Option -Xnoagent was deprecated in JDK 22 and will likely be removed in a future release.");
} else if (match_option(option, "-Xloggc:", &tail)) {
// Deprecated flag to redirect GC output to a file. -Xloggc:<filename>
log_warning(gc)("-Xloggc is deprecated. Will use -Xlog:gc:%s instead.", tail);