Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17800

Forbid the use of System.exit and Runtime exit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: