api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

Reduce using `System.exit`

Open pj892031 opened this issue 1 year ago • 4 comments

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

pj892031 avatar Jun 01 '23 17:06 pj892031

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Jan 18 '24 18:01 github-actions[bot]

I am sure this issue is still valid and shouldn't be closed.

pj892031 avatar Jan 19 '24 08:01 pj892031

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Apr 18 '24 12:04 github-actions[bot]

It is still valid.

pj892031 avatar Apr 19 '24 15:04 pj892031