]
RH Bugzilla Integration commented on WFLY-4149:
-----------------------------------------------
Dominik Pospisil <dpospisi(a)redhat.com> changed the Status of [bug
NamingExceptions not properly handled in InitialContext
-------------------------------------------------------
Key: WFLY-4149
URL:
https://issues.jboss.org/browse/WFLY-4149
Project: WildFly
Issue Type: Bug
Components: Naming
Reporter: David Lloyd
Assignee: Eduardo Martins
Fix For: 9.0.0.Beta1
The change in
https://github.com/jbossas/jboss-eap/commit/db525bf1d90a40eb909c8f915fca7...
catches all Exception and rewraps them with NamingException. This behavior is undesirable
if the original exception was already a NamingException. Catch and re-throw that
exception type as-is before wrapping other exceptions.