Skip to content

Commit 689b90d

Browse files
committed
8318957: enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415f1d2e87d8f06ad5eb611bfdf8ef0ad
1 parent cf187a1 commit 689b90d

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
@@ -835,6 +835,9 @@ printUsage(void)
835835
"transport=<name> transport spec none\n"
836836
"address=<listen/attach address> transport spec \"\"\n"
837837
"server=y|n listen for debugger? n\n"
838+
"allow=<IP|IP-list> If server=y, allows connections only from the IP addresses/subnets specified.\n"
839+
" A list of multiple IP address/subnet entries must be separated by \'+\'.\n"
840+
" * (allows connection from any address)\n"
838841
"launch=<command line> run debugger on event none\n"
839842
"onthrow=<exception name> debug on throw none\n"
840843
"onuncaught=y|n debug on any uncaught? n\n"

0 commit comments

Comments
 (0)