Skip to content

Commit bb50eb3

Browse files
committed
8318957: Enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415f1d2e87d8f06ad5eb611bfdf8ef0ad
1 parent 73fcc8e commit bb50eb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c

+3
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,9 @@ printUsage(void)
879879
"transport=<name> transport spec none\n"
880880
"address=<listen/attach address> transport spec \"\"\n"
881881
"server=y|n listen for debugger? n\n"
882+
"allow=<IP|IP-list> If server=y, allows connections only from the IP addresses/subnets specified.\n"
883+
" A list of multiple IP address/subnet entries must be separated by \'+\'.\n"
884+
" * (allows connection from any address)\n"
882885
"launch=<command line> run debugger on event none\n"
883886
"onthrow=<exception name> debug on throw none\n"
884887
"onuncaught=y|n debug on any uncaught? n\n"

0 commit comments

Comments
 (0)