From eba69e3bb919630f6efae77b372b36389543194d Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Wed, 6 Mar 2019 19:45:56 +0100 Subject: [PATCH] Update release notes, fixes #1692, refs #1704 --- docs/pages/release_notes.md | 9 +++++++++ .../src/main/resources/rulesets/releases/6130.xml | 14 ++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pmd-core/src/main/resources/rulesets/releases/6130.xml diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index b8f8783555..dc544384fd 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,11 +14,20 @@ This is a {{ site.pmd.release_type }} release. ### New and noteworthy +#### New Rules + +* The new Java rule {% rule "java/design/AvoidUncheckedExceptionsInSignatures" %} finds methods or constructors + that declare unchecked exceptions in their `throws` clause. This forces the caller to handle the exception, + even though it is a runtime exception. + ### Fixed Issues +* java-design + * [#1692](https://github.com/pmd/pmd/issues/1692): \[java] Add rule to avoid declaration of throwing unchecked exception ### API Changes ### External Contributions +* [#1704](https://github.com/pmd/pmd/pull/1704): \[java] Added AvoidUncheckedExceptionsInSignatures Rule - [Bhanu Prakash Pamidi](https://github.com/pamidi99) {% endtocmaker %} diff --git a/pmd-core/src/main/resources/rulesets/releases/6130.xml b/pmd-core/src/main/resources/rulesets/releases/6130.xml new file mode 100644 index 0000000000..c410fb23d5 --- /dev/null +++ b/pmd-core/src/main/resources/rulesets/releases/6130.xml @@ -0,0 +1,14 @@ + + + + +This ruleset contains links to rules that are new in PMD v6.13.0 + + + + + +