nacho       00/10/23 09:55:51

  Modified:    src/share/org/apache/tomcat/core Tag: tomcat_32
                        ContextManager.java
  Log:
  Allowing to compile under jdk 1.1
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.100.2.12 +2 -1      
jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java
  
  Index: ContextManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java,v
  retrieving revision 1.100.2.11
  retrieving revision 1.100.2.12
  diff -u -r1.100.2.11 -r1.100.2.12
  --- ContextManager.java       2000/10/04 20:49:16     1.100.2.11
  +++ ContextManager.java       2000/10/23 16:55:48     1.100.2.12
  @@ -332,7 +332,8 @@
        *  session id generator. 
        */
       public void setRandomClass(String randomClass) {
  -        System.setProperty("tomcat.sessionid.randomclass", randomClass);
  +        Properties sysProp = System.getProperties();
  +     sysProp.put("tomcat.sessionid.randomclass", randomClass);
       }
   
       /** Get the showDebugInfo property to be used for controlling the display of
  
  
  

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

Reply via email to