src/share/classes/com/sun/tools/javac/resources/compiler.properties

changeset 1144
9448fe783fd2
parent 1136
ae361e7f435a
child 1145
3343b22e2761
     1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Thu Nov 24 13:38:40 2011 +0000
     1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Mon Nov 28 15:56:42 2011 +0000
     1.3 @@ -1945,6 +1945,11 @@
     1.4      strings in switch are not supported in -source {0}\n\
     1.5      (use -source 7 or higher to enable strings in switch)
     1.6  
     1.7 +# 0: string
     1.8 +compiler.err.lambda.not.supported.in.source=\
     1.9 +    lambda expressions are not supported in -source {0}\n\
    1.10 +    (use -source 8 or higher to enable lambda expressions)
    1.11 +
    1.12  ########################################
    1.13  # Diagnostics for verbose resolution
    1.14  # used by Resolve (debug only)

mercurial