diff --git a/src/test/org/apache/commons/logging/jdk14/CustomConfigTestCase.java b/src/test/org/apache/commons/logging/jdk14/CustomConfigTestCase.java index e1883ae..444637f 100644 --- a/src/test/org/apache/commons/logging/jdk14/CustomConfigTestCase.java +++ b/src/test/org/apache/commons/logging/jdk14/CustomConfigTestCase.java @@ -317,7 +317,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase { if (thrown) { assertNotNull("LogRecord thrown", record.getThrown()); assertTrue("LogRecord thrown type", - record.getThrown() instanceof IndexOutOfBoundsException); + record.getThrown() instanceof DummyException); } else { assertNull("LogRecord thrown", record.getThrown());