Show live port rather than JMX in live hovers

This commit is contained in:
aboyko
2024-04-08 15:53:34 -04:00
parent 9cd237b97a
commit ea3853fc05
2 changed files with 2 additions and 3 deletions

View File

@@ -208,7 +208,6 @@ public class BootDashActivator extends AbstractUIPlugin {
if (pid != null) {
CommandInfo cmd = new CommandInfo("sts/livedata/localAdd", Map.of(
"host", "127.0.0.1",
"port", l.getAttribute(BootLaunchConfigurationDelegate.JMX_PORT),
"urlScheme", "http",
"jmxurl", "service:jmx:rmi:///jndi/rmi://127.0.0.1:%s/jmxrmi".formatted(l.getAttribute(BootLaunchConfigurationDelegate.JMX_PORT)),
"manualConnect", !BootLaunchConfigurationDelegate.getAutoConnect(owner),