[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: JDK-8057746: Cannot handle JdpException in JMX agent initialization.
From:       Jaroslav Bachorik <jaroslav.bachorik () oracle ! com>
Date:       2014-09-08 9:36:00
Message-ID: 540D7880.1070002 () oracle ! com
[Download RAW message or body]

Looks good!

-JB-

On 09/07/2014 03:04 PM, Yasumasa Suenaga wrote:
> Hi all,
> 
> This issue is related to JDK-8057556: JDP should better handle non-active interfaces
> http://mail.openjdk.java.net/pipermail/serviceability-dev/2014-September/015548.html
> 
> JMX agent will be terminated silently when I run command as following:
> 
> java -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false
>       -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.autodiscovery=true
>       -Dcom.sun.management.jdp.source_addr=255.255.255.255 -version
> 
> I expect JdpException which is caused by "com.sun.management.jdp.source_addr" .
> 
> Curently, sun.management.Agent#startDiscoveryService() throws AgentConfigurationError
> when JdpException is occurred. However, argument of AgentConfiguratonError constructor
> is incorrected. So NPE will be occurred. (I checked it with jdb.)
> 
> I've created webrev. Could you review it?
> http://cr.openjdk.java.net/~ysuenaga/JDK-8057746/webrev.0/
> 
> 
> I would like to contribute this patch.
> Please review and sponsoring.
> 
> 
> Thanks,
> 
> Yasumasa
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic