RFR(M): JDK-8061228 Allow JDWP socket connector to accept connections from certain ip addresses only
Robbin Ehn
robbin.ehn at oracle.com
Thu May 18 11:05:51 UTC 2017
Hi of those:
> One more alternate solution to suggest is to add new function:
> jdwpTransportError SetTransportConfiguration(jdwpTransportConfiguration config);
>
> Where:
> typedef struct {
> const char* allowed_peers;
> } jdwpTransportConfiguration;
>
>
> This approach allows to extend the jdwpTransportConfiguration in the future if necessary.
+1
It would nice if a compiled client against JDK 8 headers works without recompiling with a JDK 9 runtime.
To make really future proof; using a client compiled against JDK 9 with JDK 1X you will need some way to know witch version of the struct was used.
E.g. SetTransportConfiguration(&config, JDWP_TRANSPORT_CONFIGURATION_CURRENT_VERSION);
Thanks, Robbin!
More information about the serviceability-dev
mailing list