[EMAIL PROTECTED] wrote:

jfarcand    2004/11/18 14:13:36

 Modified:    catalina/src/share/org/apache/catalina/core Tag: TOMCAT_5_0
                       ApplicationContextFacade.java
                       ApplicationDispatcher.java
                       ApplicationFilterChain.java StandardWrapper.java
              catalina/src/share/org/apache/catalina/security Tag:
                       TOMCAT_5_0 SecurityUtil.java
              catalina/src/share/org/apache/catalina/session Tag:
                       TOMCAT_5_0 PersistentManagerBase.java
                       StandardManager.java StandardSession.java
 Log:
 When the package protection is not used, do not create the doPrivileged 
objects so we don't suffer the performance hit (15% faster with trade2 and this 
change). Also fixed a memory leak when security manager is turned on.

Fixing leaks is good :)

I have a question:
Can it ever happen that package access is disabled ? Tomcat is probably not secure without those checks. So what is the purpose of the change exactly ?


Rémy


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



Reply via email to