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

changeset 383
8109aa93b212
parent 377
d9febdd5ae21
child 409
69eaccd3ea85
     1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Wed Aug 26 19:28:51 2009 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Thu Aug 27 13:40:48 2009 +0100
     1.3 @@ -1073,6 +1073,10 @@
     1.4      symbol:   {0} <{2}>{1}({3})\n\
     1.5      location: {4} {5}
     1.6  
     1.7 +compiler.err.cant.apply.diamond=\
     1.8 +    diamond operator cannot infer types for {0};\n\
     1.9 +    reason: {1}
    1.10 +
    1.11  ## The following are all possible string for "kindname".
    1.12  ## They should be called whatever the JLS calls them after it been translated
    1.13  ## to the appropriate language.
    1.14 @@ -1205,6 +1209,10 @@
    1.15      enums are not supported in -source {0}\n\
    1.16  (use -source 5 or higher to enable enums)
    1.17  
    1.18 +compiler.err.diamond.not.supported.in.source=\
    1.19 +    diamond operator is not supported in -source {0}\n\
    1.20 +(use -source 7 or higher to enable diamond operator)
    1.21 +
    1.22  ########################################
    1.23  # Diagnostics for where clause implementation
    1.24  # used by the RichDiagnosticFormatter.

mercurial