aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/management/MBeanServerFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/management/MBeanServerFactory.java')
-rw-r--r--libjava/classpath/javax/management/MBeanServerFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/javax/management/MBeanServerFactory.java b/libjava/classpath/javax/management/MBeanServerFactory.java
index 5419563..a8dac94 100644
--- a/libjava/classpath/javax/management/MBeanServerFactory.java
+++ b/libjava/classpath/javax/management/MBeanServerFactory.java
@@ -370,7 +370,7 @@ public class MBeanServerFactory
MBeanServerDelegate delegate = builder.newMBeanServerDelegate();
if (delegate == null)
throw new JMRuntimeException("A delegate could not be created.");
- MBeanServer server = builder.newMBeanServer("DefaultDomain", null, delegate);
+ MBeanServer server = builder.newMBeanServer(domain, null, delegate);
if (server == null)
throw new JMRuntimeException("A server could not be created.");
return server;