DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=19114>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=19114


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From [EMAIL PROTECTED]  2006-09-17 15:45 -------
This seems fixed in Tomcat 3.3.2

>From org.apache.tomcat.facade.RequestDispatcherImpl :

public void forward(ServletRequest request, ServletResponse response)
        throws ServletException, IOException
    {
        if( System.getSecurityManager() != null ) {
            try {
                forwardAction.prepare( request, response );
                jdk11Compat.doPrivileged( forwardAction, accessControlContext );
            } catch( Exception e) {
                wrapException( e, null );
            }
        } else {
            doForward(request,response);
        }
    }

// Rethrow original error if present 
    private void wrapException(Exception ex, String msg)
        throws IOException, ServletException, RuntimeException
    {
        if ( ex instanceof IOException )
            throw (IOException) ex;
        if ( ex instanceof RuntimeException )
            throw (RuntimeException) ex;
        else if ( ex instanceof ServletException )
            throw (ServletException) ex;
        else
            if( msg==null )
                throw new ServletException(ex );
            else
                throw new ServletException(msg, ex );
    }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to