RFR: JDK-8173180 VirtualMachine.startLocalManagementAgent() returns URI with unreliable IP address

Daniel Fuchs daniel.fuchs at oracle.com
Tue Jun 20 09:10:27 UTC 2017


Hi Harsha,

Maybe I'm missing something.
How is the local agent started?

If it's started when you connect jconsole to a process
by specifying the process ID - then I suspect this will
prevent e.g. jconsole or jvisualvm running on JDK 8 to
connect to your process.

Can you verify that it's not the case?

best regards,

-- daniel

On 20/06/2017 09:11, Harsha Wardhana B wrote:
> Hi Daniel,
> 
> The fix is applicable only to local JMX agent and the most common use 
> case would be client and server running from same JVM.
> It is highly unlikely that local JMX agent will be started to cater for 
> out-of-jvm clients.
> 
> I don't see how introducing this fix can cause new interoperability 
> problems. Can you please elaborate?
> 
> -Harsha
> 
> On Monday 19 June 2017 10:23 PM, Daniel Fuchs wrote:
>> Hi,
>>
>> If I'm not mistaken then this will make it impossible
>> for earlier release to interoperate with newer releases
>> as the LocalRMIClientSocketFactory class will not be
>> present the client tries to deserialize the stub.
>>
>> best regards,
>>
>> -- daniel
>>
>> On 19/06/2017 11:52, Ujwal Vangapally wrote:
>>> Hi,
>>>
>>> Kindly review the fix for bug below
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8173180
>>>
>>> webrev: 
>>> http://cr.openjdk.java.net/~uvangapally/webrev/2017/8173180/webrev.00/
>>>
>>> Thanks,
>>>
>>> Ujwal
>>>
>>
> 



More information about the serviceability-dev mailing list