pmd/docs/pages/release_notes.md
Andreas Dangel e76b0b6946 Merge branch 'pr-2803' into master
[java] Improve DoNotCallSystemExit (Fixes #2157) #2803
2020-10-10 13:07:05 +02:00

1.4 KiB

title permalink keywords
PMD Release Notes pmd_release_notes.html changelog, release notes

{{ site.pmd.date }} - {{ site.pmd.version }}

The PMD team is pleased to announce PMD {{ site.pmd.version }}.

This is a {{ site.pmd.release_type }} release.

{% tocmaker is_release_notes_processor %}

New and noteworthy

Renamed Rules

  • The Java rule {% rule "java/errorprone/DoNotCallSystemExit" %} has been renamed to {% rule "java/errorprone/DoNotTerminateVM" %}, since it checks for all the following calls: System.exit(int), Runtime.exit(int), Runtime.halt(int). All these calls terminate the Java VM, which is bad, if the VM runs an application server which many independent applications.

Fixed Issues

  • java-errorprone
    • #2157: [java] Improve DoNotCallSystemExit: permit call in main(), flag System.halt

API Changes

External Contributions

{% endtocmaker %}