Author: clebert.suconic(a)jboss.com
Date: 2009-12-09 15:31:09 -0500 (Wed, 09 Dec 2009)
New Revision: 8652
Modified:
trunk/tests/jms-tests/src/org/hornetq/jms/tests/tools/container/LocalTestServer.java
Log:
Fixing compilation issue with JDK 1.5 on JMS-tests
Modified:
trunk/tests/jms-tests/src/org/hornetq/jms/tests/tools/container/LocalTestServer.java
===================================================================
---
trunk/tests/jms-tests/src/org/hornetq/jms/tests/tools/container/LocalTestServer.java 2009-12-09
20:29:24 UTC (rev 8651)
+++
trunk/tests/jms-tests/src/org/hornetq/jms/tests/tools/container/LocalTestServer.java 2009-12-09
20:31:09 UTC (rev 8652)
@@ -423,7 +423,7 @@
public List<String> listAllSubscribersForTopic(final String s) throws Exception
{
ObjectName objectName = ObjectNameBuilder.DEFAULT.getJMSTopicObjectName(s);
- TopicControl topic =
MBeanServerInvocationHandler.newProxyInstance(ManagementFactory.getPlatformMBeanServer(),
+ TopicControl topic =
(TopicControl)MBeanServerInvocationHandler.newProxyInstance(ManagementFactory.getPlatformMBeanServer(),
objectName,
TopicControl.class,
false);
Show replies by date