From 961c9ff51065bdee37ebb65aff0412dfcd5756eb Mon Sep 17 00:00:00 2001 From: Robert Munteanu Date: Mon, 16 Dec 2024 17:10:23 +0100 Subject: [PATCH] fix-up for 208bd22427eee6f744fddd69b646030cd8199e14 --- jmx/jmx-mbeanserver-platform/pom.xml | 2 +- .../apache/aries/jmx/mbean_server/platform/impl/Activator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jmx/jmx-mbeanserver-platform/pom.xml b/jmx/jmx-mbeanserver-platform/pom.xml index a0b487d70c..bf83fa792e 100644 --- a/jmx/jmx-mbeanserver-platform/pom.xml +++ b/jmx/jmx-mbeanserver-platform/pom.xml @@ -24,7 +24,7 @@ org.apache.aries.jmx org.apache.aries.jmx.parent - 1.1.6-SNAPSHOT + 1.1.5 ../jmx-parent diff --git a/jmx/jmx-mbeanserver-platform/src/main/java/org/apache/aries/jmx/mbean_server/platform/impl/Activator.java b/jmx/jmx-mbeanserver-platform/src/main/java/org/apache/aries/jmx/mbean_server/platform/impl/Activator.java index 67c2931aea..add5d02179 100644 --- a/jmx/jmx-mbeanserver-platform/src/main/java/org/apache/aries/jmx/mbean_server/platform/impl/Activator.java +++ b/jmx/jmx-mbeanserver-platform/src/main/java/org/apache/aries/jmx/mbean_server/platform/impl/Activator.java @@ -38,7 +38,7 @@ public class Activator implements BundleActivator { @Override public void start(BundleContext context) throws Exception { MBeanServer platformMBeanServer = ManagementFactory.getPlatformMBeanServer(); - Hashtable mbeanProps = new Hashtable<>(); + Hashtable mbeanProps = new Hashtable(); ObjectName beanName = ObjectName.getInstance("JMImplementation:type=MBeanServerDelegate"); AttributeList attrs = platformMBeanServer.getAttributes(beanName, new String[] { "MBeanServerId",