Replacement for JDK8 APIs
Alan Bateman
Alan.Bateman at oracle.com
Thu Nov 24 18:14:40 UTC 2016
On 24/11/2016 14:22, Stéphane Nicoll wrote:
> :
>
> We use "sun.misc.VMSupport" to retrieve the port being used by the Java
> remote debugging. You can find the actual code in RemoteDebugPortProvider[3]
>
This class was never intended to be used directly of course. It doesn't
exist (or rather it has moved) in JDK 9. Are you grabbing the port so
that it can be published for debuggers to attach? Have you considered
publishing the pid instead - that would allow debuggers to use the
ProcessAttachingConnector to attach.
-Alan
More information about the jigsaw-dev
mailing list