Hi.
I need to start a local JMX agent on the current JVM and obtain its secret
address; I cannot rely on tools.jar being present so I can't use the attach
mechanism. Currently, I do this with sun.management.Agent.agentmain
and sun.misc.VMSupport.getAgentProperties because that's the only way to
start an agent that won't keep the application running by leaving
non-daemon threads lying around.

Will JDK 9  make those classes inaccessible? If so, what alternatives do I
have?

Ron

Reply via email to