api-layer
api-layer copied to clipboard
Reduce using `System.exit`
Describe the bug
The code of APIML contains about 10 calls of System.exit
. It is not a best practice and can lead to issues (ie. https://github.com/zowe/api-layer/pull/2923#discussion_r1212887630).
The code should be replaced at least with SpringApplication.exit
(https://www.baeldung.com/spring-boot-shutdown#exit)
Expected behavior
Code does not contains any directly call of System.exit
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I am sure this issue is still valid and shouldn't be closed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
It is still valid.