diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index b8f8783555..06088b1bff 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,11 +14,25 @@ This is a {{ site.pmd.release_type }} release. ### New and noteworthy +#### Modified Rules + +* The Java rules {% rule "java/multithreading/UnsynchronizedStaticFormatter" %} and + {% rule "java/multithreading/UnsynchronizedStaticDateFormatter" %} (`java-multithreading`) + now prefer synchronized blocks by default. They will raise a violation, if the synchronization is implemented + on the method level. To allow the old behavior, the new property `allowMethodLevelSynchronization` can + be enabled. + ### Fixed Issues +* java-multithreading + * [#1814](https://github.com/pmd/pmd/issues/1814): \[java] UnsynchronizedStaticFormatter documentation and implementation wrong + * [#1815](https://github.com/pmd/pmd/issues/1815): \[java] False negative in UnsynchronizedStaticFormatter + ### API Changes ### External Contributions +* [#1829](https://github.com/pmd/pmd/pull/1829): \[java] Fix false negative in UnsynchronizedStaticFormatter - [Srinivasan Venkatachalam](https://github.com/Srini1993) + {% endtocmaker %}