--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Apr 06 17:27:24 2018 +0530
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Apr 06 09:15:09 2018 -0400
@@ -2740,7 +2740,8 @@
# TODO 308: make a better error message
compiler.err.this.as.identifier=\
- as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter
+ as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\
+ which has to be the first parameter, and cannot be a lambda parameter
compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\
receiver parameter not applicable for constructor of top-level class