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 16:30:08 GMT


Uwe Schindler commented on LUCENE-4352:

I think, simply passing another SecurityManager with -D should handle all this (and checking
the stack trace from it like Preflex-Codec). The reason why exitVM permission is granted automatically
to all classes from within -classpath is tricky: Otherwise, the code could never exit itsself
(it would not even allow to exit after its own main() method ends!).

I'll play around with it. The Zookeeper issue is well known, so they are waiting for their
patch to apply again (ZOOKEEPER-1544 was closed as duplicate, ZOOKEEPER-575 is pending since
long time - I don't expect a solution soon).
> 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