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=41509>. 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=41509 ------- Additional Comments From [EMAIL PROTECTED] 2007-05-30 00:50 ------- (In reply to comment #1) > (In reply to comment #0) > How can I reproduce this situation? Do you have any test cases? > It isn't very easy to write testcase for jasper :( idea: 1) set Policy to Policy.setPolicy(new Policy() { public boolean implies(ProtectionDomain domain, Permission permission) { return true; } public PermissionCollection getPermissions(ProtectionDomain domain) { return Policy.UNSUPPORTED_EMPTY_COLLECTION; } public PermissionCollection getPermissions(CodeSource codesource) { return Policy.UNSUPPORTED_EMPTY_COLLECTION; } }); such policy won't break the vm, since it allows everything. 2) set SecurityManager System.setSecurityManager(new SecurityManager()) 3) instantiate JspRuntimeContext -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]