Commit f3062b0d by Gary Benson Committed by Gary Benson

2007-02-08 Gary Benson <gbenson@redhat.com>

	* javax/management/MBeanServerFactory.java
	(servers): Initialize.
	(createMBeanServer): Don't initialize servers.

From-SVN: r121713
parent 674474a5
2007-02-08 Gary Benson <gbenson@redhat.com>
* javax/management/MBeanServerFactory.java
(servers): Initialize.
(createMBeanServer): Don't initialize servers.
2007-01-31 Tom Tromey <tromey@redhat.com>
* tools/Makefile.in: Rebuilt.
......
/* MBeanServerFactory.java -- Manages server instances.
Copyright (C) 2006 Free Software Foundation, Inc.
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
......@@ -89,7 +89,7 @@ public class MBeanServerFactory
/**
* The map of registered servers (identifiers to servers).
*/
private static Map servers;
private static Map servers = new HashMap();
/**
* Private constructor to prevent instance creation.
......@@ -158,8 +158,6 @@ public class MBeanServerFactory
if (sm != null)
sm.checkPermission(new MBeanServerPermission("createMBeanServer"));
MBeanServer server = createServer(domain);
if (servers == null)
servers = new HashMap();
try
{
ObjectName dn = new
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment