mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
Fixes test to run under JDK8
This commit is contained in:
@@ -105,7 +105,7 @@ public class ContainerImplTest extends TestCase {
|
||||
try {
|
||||
c.inject(methodCheck);
|
||||
fail("Exception should be thrown!");
|
||||
} catch (Error expected) {
|
||||
} catch (DependencyException | Error expected) {
|
||||
assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user