Closed cxzl25 closed 4 months ago
This PR aims to avoid System.exit(0) in count command.
System.exit(0)
count
https://github.com/apache/orc/pull/1817#discussion_r1503572991
System.exit(0) is not conducive to testing, especially in Java17 and above. Without System.exit(0), the program can exit normally.
local test
No
Thank you!
What changes were proposed in this pull request?
This PR aims to avoid
System.exit(0)
incount
command.Why are the changes needed?
https://github.com/apache/orc/pull/1817#discussion_r1503572991
System.exit(0)
is not conducive to testing, especially in Java17 and above. WithoutSystem.exit(0)
, the program can exit normally.How was this patch tested?
local test
Was this patch authored or co-authored using generative AI tooling?
No