remm        2003/05/29 09:34:38

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        JspRuntimeContext.java
  Log:
  - Only do the security init if there's a security manager.
  
  Revision  Changes    Path
  1.14      +7 -5      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
  
  Index: JspRuntimeContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JspRuntimeContext.java    15 May 2003 18:45:40 -0000      1.13
  +++ JspRuntimeContext.java    29 May 2003 16:34:37 -0000      1.14
  @@ -191,7 +191,9 @@
            return;
        }
   
  -        initSecurity();
  +        if (System.getSecurityManager() != null) {
  +            initSecurity();
  +        }
   
           // If this web application context is running from a
           // directory, start the background compilation thread
  
  
  

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

Reply via email to