From 53bb7cd415f1d2e87d8f06ad5eb611bfdf8ef0ad Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Thu, 2 Nov 2023 10:06:37 +0000 Subject: [PATCH] 8318957: enhance agentlib:jdwp help output by info about allow option Reviewed-by: cjplummer --- src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c b/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c index 494e3f613e9..fe990e97a65 100644 --- a/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c +++ b/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c @@ -835,6 +835,9 @@ printUsage(void) "transport= transport spec none\n" "address= transport spec \"\"\n" "server=y|n listen for debugger? n\n" + "allow= If server=y, allows connections only from the IP addresses/subnets specified.\n" + " A list of multiple IP address/subnet entries must be separated by \'+\'.\n" + " * (allows connection from any address)\n" "launch= run debugger on event none\n" "onthrow= debug on throw none\n" "onuncaught=y|n debug on any uncaught? n\n"