??-?????-2020 - 6.29.0-SNAPSHOT
The PMD team is pleased to announce PMD 6.29.0-SNAPSHOT.
This is a minor release.
New and noteworthy
Renamed Rules
- The Java rule
DoNotCallSystemExit
has been renamed toDoNotTerminateVM
, 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
- #2803: [java] Improve DoNotCallSystemExit (Fixes #2157) - Vitaly Polonetsky
- #2809: [java] Move test config from file to test class - Stefan Birkner
- #2810: [core] Move method “renderTempFile” to XMLRendererTest - Stefan Birkner
- #2813: [core] Use JUnit’s TemporaryFolder rule - Stefan Birkner