From 79af556e23ff02c660abee6ff9f1f0aa278b1d87 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 3 Mar 2008 14:54:59 +0000 Subject: QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problems git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633111 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/systests') diff --git a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java index 0b0a297726..8ed3605723 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java +++ b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java @@ -106,7 +106,7 @@ public class SimpleACLTest extends TestCase implements ConnectionListener } catch (AMQException amqe) { - if (amqe.getCause() instanceof Exception) + if (amqe.getCause().getClass() == Exception.class) { System.err.println("QPID-594 : WARNING RACE CONDITION. Unable to determine cause of Connection Failure."); return; -- cgit v1.2.1