"scott.stark(a)jboss.org" wrote : "clebert.suconic(a)jboss.com" wrote :
| | So, you will probably check for System.getSecurityManager()==null, what means we
would behave the same without creating an extra object when
System.getSecurityManager()==null.
| |
| | I have done some tests in the past, and when we do too many new PriviledgeBlocks,
that really affects performance due to Garbage Collection on those objects.
| Right, the code generated by AOP should have the check.
The question is how do I get to the code generated by AOP to add the priv block. Am I
looking at weaving in some aspects?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190730#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...