tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41584] - Avoid invoking System.getSecurityManager repeatedly
Date Fri, 09 Feb 2007 13:36:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41584





------- Additional Comments From arvind.srinivasan@sun.com  2007-02-09 05:36 -------
Created an attachment (id=19562)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19562&action=view)
Patch that reduces System.getSecurityManager() invocations when processing
requests

I didn't want to introduce cross-package dependencies and so I defined the same
variable - IS_SECURITY_MANAGER_ENABLED - in multiple top-level Constants.java
files.

I wasn't too sure about changing WebappClassLoader.java,
SecurityClassLoad.java, SecurityConfig.java and so left those
getSecurityManager() calls unchanged.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message