On 06/02/2017 00:29, Mandy Chung wrote:
sun.management.ConnectorAddressLink is renamed to
jdk.internal.agent.ConnectorAddressLink but missed the Class.forName call in
JConsole. Thanks to Peter catching this regression. Since jdk.jconsole
requires jdk.attach and jdk.management.agent that guarantees the classes
required are present at runtime, so we can drop the Class.forName calls.
I leave the isLocalAttachAvailable() method there to keep the current
implementation that supports to run even if the local attach is not supported.
This looks okay to me.
-Alan