-
Bug
-
Resolution: Done
-
Major
-
19.0.0.Beta1
-
None
When using IBM JDK with SecurityManager option, a programmatic Fault returns a different Exception than a SOAPFaultException
@Test public void testHelloError() { try { proxy.helloError("Fault for test purpose"); Assert.fail("This should throw a SOAPFaultException"); } catch (SOAPFaultException ex) { SOAPFault fault = ex.getFault(); Assert.assertEquals("Fault for test purpose", fault.getFaultString()); //.... } }
Exception:
org.junit.ComparisonFailure: expected:<[Fault for test purpose]> but was:<[WFLYEJB0442: Unexpected Error]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.as.test.integration.ws.basic.BasicTests.testHelloError(BasicTests.java:69)
Affected Test in the AS Testsuite:
org/jboss/as/test/integration/ws/basic/EJBEndpointTestCase
- clones
-
JBEAP-18622 (7.3.z) Unexpected Error instead of SOAPFaultException when using IBM JDK and SecurityManager
- Closed