From b79f5e93c1d299f368fcea56bc5b4f2a5bff1456 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 29 Jul 2018 10:34:47 +0200 Subject: [PATCH] Update release notes for java 11 --- docs/pages/release_notes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 23bf24e76d..6b9e0869fe 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -13,13 +13,21 @@ This is a minor release. ### Table Of Contents * [New and noteworthy](#new-and-noteworthy) + * [Java 11 Support](#java-11-support) * [New Rules](#new-rules) + * [Modified Rules](#modified-rules) * [Fixed Issues](#fixed-issues) * [API Changes](#api-changes) * [External Contributions](#external-contributions) ### New and noteworthy +#### Java 11 Support + +PMD is now able to parse the local-variable declaration syntax `var xxx`, that has been +extended for lambda parameters with Java 11 via +[JEP 323: Local-Variable Syntax for Lambda Parameters](http://openjdk.java.net/jeps/323). + #### New Rules * The new Java rule [`LocalVariableNamingConventions`](pmd_rules_java_codestyle.html#localvariablenamingconventions) (`java-codestlye`) @@ -31,6 +39,14 @@ This is a minor release. but can be configured. Special cases can be configured for final parameters and lambda parameters (considering wether they are explicitly typed or not) +#### Modified Rules + +* The Java rules [`AccessorClassGeneration'](pmd_rules_java_bestpracices.html#accessorclassgeneration) and + [`AccessorMethodGeneration`](pmd_rules_java_bestpracices.html#accessormethodgeneration) (both in category + `java-bestpractices`) have been modified to be only valid up until Java 10. Java 11 adds support for + [JEP 181: Nest-Based Access Control](http://openjdk.java.net/jeps/181) which avoids the generation of + accessor classes / methods altogether. + ### Fixed Issues * doc