uschindler edited a comment on issue #1114: LUCENE-9109: Use stack walker to 
implement TestSecurityManager's detection of test JVM exit
URL: https://github.com/apache/lucene-solr/pull/1114#issuecomment-568567830
 
 
   You are right:
   
   > If there is a security manager, and this thread is not the current thread, 
then the security manager's checkPermission method is called with a 
RuntimePermission("getStackTrace") permission to see if it's ok to get the 
stack trace.
   
   As we were only looking at current thread it was useless to have the 
privileged context. Not sure why we had the permission stuff.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to