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 07:38:24 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/session SessionIdGenerator.java

costin      01/08/20 22:38:24

  Modified:    src/share/org/apache/tomcat/modules/session
                        SessionIdGenerator.java
  Log:
  Update for the fix in compat.
  
  Revision  Changes    Path
  1.5       +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionIdGenerator.java
  
  Index: SessionIdGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionIdGenerator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SessionIdGenerator.java	2001/04/21 19:33:11	1.4
  +++ SessionIdGenerator.java	2001/08/21 05:38:24	1.5
  @@ -177,7 +177,7 @@
   	// We're in a sandbox...
   	PriviledgedIdGenerator di = new PriviledgedIdGenerator(this, jsIdent);
   	try {
  -	    newId= (String)jdk11Compat.doPrivileged(di);
  +	    newId= (String)jdk11Compat.doPrivileged(di, jdk11Compat.getAccessControlContext());
   	} catch( Exception ex ) {
   	    newId=null;
   	}