[ 
https://issues.apache.org/jira/browse/LUCENE-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447511#comment-13447511
 ] 

Uwe Schindler commented on LUCENE-4352:
---------------------------------------

bq. Stack traces are retrieved from all over the place in the test framework 
too (on test timeouts, on thread leaks). Will it work?

If you install a SecurityManager that does not allow this, it will of course 
not work. The thing here is more special and has nothing to do with 
Test-Framework: If the Security Manager itsself has to do additional checks 
that may be denied, it must du this using his own security context (thats what 
AccessController is doing here) and not with the one of the caller.
                
> only the test runner should be able to System.exit
> --------------------------------------------------
>
>                 Key: LUCENE-4352
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4352
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0-BETA
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.0
>
>         Attachments: LUCENE-4352.patch, LUCENE-4352.patch, LUCENE-4352.patch, 
> LUCENE-4352.patch, LUCENE-4352.patch
>
>
> All others should get SecurityException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to