You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2024/10/15 17:12:00 UTC

[jira] [Created] (KAFKA-17800) Forbid the use of System.exit and Runtime exit

Greg Harris created KAFKA-17800:
-----------------------------------

             Summary: Forbid the use of System.exit and Runtime exit
                 Key: KAFKA-17800
                 URL: https://issues.apache.org/jira/browse/KAFKA-17800
             Project: Kafka
          Issue Type: Improvement
            Reporter: Greg Harris


Currently the Exit class enforces it's usage through checkstyle, which is a source-code level check. We should replace this with a bytecode-level check via forbidden-apis.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)