Skip to content

Commit

Permalink
8312150: Remove -Xnoagent option
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, alanb
  • Loading branch information
jaikiran committed Dec 14, 2023
1 parent d632d74 commit d2ba3b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions src/hotspot/share/runtime/arguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2591,9 +2591,6 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
// -Xdebug
} else if (match_option(option, "-Xdebug")) {
warning("Option -Xdebug was deprecated in JDK 22 and will likely be removed in a future release.");
// -Xnoagent
} else if (match_option(option, "-Xnoagent")) {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public class TestNullTerminatedFlags {
"-Xshare:on",
"-Xshare:auto",
"-Xshare:off",
"-Xdebug",
"-Xnoagent"
"-Xdebug"
};

public static void main(String args[]) throws Exception{
Expand Down

1 comment on commit d2ba3b1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.