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

Reply via email to