You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/08/21 06:56:44 UTC

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade RequestDispatcherImpl.java

costin      01/08/20 21:56:44

  Modified:    src/facade22/org/apache/tomcat/facade
                        RequestDispatcherImpl.java
  Log:
  Update for the compat fix.
  
  Revision  Changes    Path
  1.19      +2 -2      jakarta-tomcat/src/facade22/org/apache/tomcat/facade/RequestDispatcherImpl.java
  
  Index: RequestDispatcherImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/RequestDispatcherImpl.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- RequestDispatcherImpl.java	2001/03/31 21:52:33	1.18
  +++ RequestDispatcherImpl.java	2001/08/21 04:56:44	1.19
  @@ -164,7 +164,7 @@
   	if( System.getSecurityManager() != null ) {
   	    try {
   		forwardAction.prepare( request, response );
  -		jdk11Compat.doPrivileged( forwardAction );
  +		jdk11Compat.doPrivileged( forwardAction, jdk11Compat.getAccessControlContext() );
   	    } catch( Exception e) {
   		wrapException( e, null );
   	    }
  @@ -179,7 +179,7 @@
   	if( System.getSecurityManager() != null ) {
   	    try {
   		includeAction.prepare( request, response );
  -		jdk11Compat.doPrivileged( includeAction );
  +		jdk11Compat.doPrivileged( includeAction, jdk11Compat.getAccessControlContext() );
   	    } catch( Exception e) {
   		wrapException( e, null );
   	    }