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 Mon, 03 Sep 2012 12:03:07 GMT


Uwe Schindler commented on LUCENE-4352:

The problem is, thats not easy possible with a policy file, as we can only forbid it globally
or allow it. If we would have signed code (means the JAR file of the test-runner is signed
by Verisign or like that, you can allow it selectively for specific signers), or by directory
(must be absolute URL - e.g., with file:/fullpath/...). This would need tpo be preprocessed
by the build.xml to make absolute and convert to URL/URI (new File(...).asURI().toAsciiString()).

The question: Does the test runner call System.exit() at all or does it just let the main()
method finish? If the latter is true, then its easy, just disallow System.exit().
> only the test runner should be able to System.exit
> --------------------------------------------------
>                 Key: LUCENE-4352
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
> 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