[ https://issues.apache.org/jira/browse/LUCENE-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447236#comment-13447236
]
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: https://issues.apache.org/jira/browse/LUCENE-4352
> 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: 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
|