RFR: JDK-8057746: Cannot handle JdpException in JMX agent initialization.
dmitry.samersoff at oracle.com
Sun Sep 7 14:49:31 UTC 2014
I'll sponsor the push.
On 2014-09-07 17:04, Yasumasa Suenaga wrote:
> Hi all,
> This issue is related to JDK-8057556: JDP should better handle non-active interfaces
> 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?
> I would like to contribute this patch.
> Please review and sponsoring.
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the source code.
More information about the core-libs-dev