lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4352) only the test runner should be able to System.exit
Date Mon, 03 Sep 2012 19:58:07 GMT

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

Dawid Weiss commented on LUCENE-4352:
-------------------------------------

bq. If you override this method, then you should make a call to super.checkExit at the point
the overridden method would normally throw an exception.

It isn't mandatory -- they say "you should" not "must". I don't understand the purpose (and
wording) of it either, other than just delegate to check the default policy. I think in our
case this won't matter much.
                
> 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
>            Reporter: Robert Muir
>         Attachments: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message