Replacement for JDK8 APIs

Stéphane Nicoll snicoll at pivotal.io
Fri Nov 25 12:11:26 UTC 2016


On Fri, Nov 25, 2016 at 3:14 AM, Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> 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.


Yes, there is a feature in Spring Boot called devtools that allows you do
remote debugging via SSH[1] - Is there any way to achieve the same feature
with JDK 9?

Thanks,
S.

[1]
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-devtools-remote-debugtunnel


>
>
> -Alan
>


More information about the jigsaw-dev mailing list