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

Brian Nixon commented on ZOOKEEPER-3620:
----------------------------------------

[~eolivelli] - do you feel like this is enough to cover ZOOKEEPER-575 as well? 

> Allow to override calls to System.exit in server side code
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-3620
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3620
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server, tests
>    Affects Versions: 3.6.0
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Using System.exit crashed the JVM and this is very annoying for:
>  * ZooKeeper own server side tests
>  * Tests of downstream applications
> We should provide a way to provide an alternative implementation of 
> System.exit.
>  
> We can also re-enable the 'DM_EXIT' spotbugs rule, that prevents code from 
> accidentally calling System.exit



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to