lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4352) only the test runner should be able to System.exit
Date Tue, 04 Sep 2012 06:37:10 GMT


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:
>             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,
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message