[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andor Molnar resolved ZOOKEEPER-3620.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 1147
[https://github.com/apache/zookeeper/pull/1147]

> 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 40m
>  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