langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 939 38e24969c7e9
parent 735 372aa565a221
child 1045 56f6e84f7825
equal deleted inserted replaced
938:13aae74ca013 939:38e24969c7e9
    79     break outside switch or loop
    79     break outside switch or loop
    80 
    80 
    81 compiler.err.call.must.be.first.stmt.in.ctor=\
    81 compiler.err.call.must.be.first.stmt.in.ctor=\
    82     call to {0} must be first statement in constructor
    82     call to {0} must be first statement in constructor
    83 compiler.err.cant.apply.symbol=\
    83 compiler.err.cant.apply.symbol=\
    84     {0} in {1} cannot be applied to {2}({3})
    84     {0} {1} in {4} {5} cannot be applied to given types\n\
    85 compiler.err.cant.apply.symbol.1=\
    85     required: {2}\n\
    86     {0} in {1} cannot be applied to {2}({3}); {4}
    86     found: {3}
       
    87  compiler.err.cant.apply.symbol.1=\
       
    88     {0} {1} in {4} {5} cannot be applied to given types;\n\
       
    89     required: {2}\n\
       
    90     found: {3}\n\
       
    91     reason: {6}
    87 compiler.err.cant.assign.val.to.final.var=\
    92 compiler.err.cant.assign.val.to.final.var=\
    88     cannot assign a value to final variable {0}
    93     cannot assign a value to final variable {0}
    89 compiler.err.cant.deref=\
    94 compiler.err.cant.deref=\
    90     {0} cannot be dereferenced
    95     {0} cannot be dereferenced
    91 compiler.err.cant.extend.intf.annotation=\
    96 compiler.err.cant.extend.intf.annotation=\
   938 compiler.misc.type.req.ref=\
   943 compiler.misc.type.req.ref=\
   939     reference
   944     reference
   940 compiler.misc.type.req.exact=\
   945 compiler.misc.type.req.exact=\
   941     class or interface without bounds
   946     class or interface without bounds
   942 compiler.misc.type.parameter=\
   947 compiler.misc.type.parameter=\
   943     type parameter {0} 
   948     type parameter {0}
   944 
   949 
   945 #####
   950 #####
   946 
   951 
   947 ## The following are all possible strings for the last argument of all those
   952 ## The following are all possible strings for the last argument of all those
   948 ## diagnostics whose key ends in ".1"
   953 ## diagnostics whose key ends in ".1"
   978 compiler.err.unexpected.type=\
   983 compiler.err.unexpected.type=\
   979 unexpected type\n\
   984 unexpected type\n\
   980 required: {0}\n\
   985 required: {0}\n\
   981 found   : {1}
   986 found   : {1}
   982 
   987 
   983 ## The first argument ({0}) is a "kindname".
   988 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
       
   989 ## The second argument {1} is the non-resolved symbol
       
   990 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
       
   991 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
   984 compiler.err.cant.resolve=\
   992 compiler.err.cant.resolve=\
   985 cannot find symbol\n\
   993     cannot find symbol\n\
   986 symbol: {0} {3}{1}{2}
   994     symbol: {0} {1}
   987 
   995 
   988 ## The first argument ({0}) and fifth argument ({4}) are "kindname"s.
   996 compiler.err.cant.resolve.args=\
       
   997     cannot find symbol\n\
       
   998     symbol: {0} {1}({3})
       
   999 
       
  1000 compiler.err.cant.resolve.args.params=\
       
  1001     cannot find symbol\n\
       
  1002     symbol: {0} <{2}>{1}({3})
       
  1003 
       
  1004 ## arguments from {0} to {3} have the same meaning as above
       
  1005 ## The fifth argument {4} is the location "kindname" (e.g. 'constructor', 'field', etc.)
       
  1006 ## The sixth argument {5} is the location type
   989 compiler.err.cant.resolve.location=\
  1007 compiler.err.cant.resolve.location=\
   990 cannot find symbol\n\
  1008     cannot find symbol\n\
   991 symbol  : {0} {3}{1}{2}\n\
  1009     symbol  : {0} {1}\n\
   992 location: {4} {5}
  1010     location: {4} {5}
       
  1011 
       
  1012 compiler.err.cant.resolve.location.args=\
       
  1013     cannot find symbol\n\
       
  1014     symbol  : {0} {1}({3})\n\
       
  1015     location: {4} {5}
       
  1016 
       
  1017 compiler.err.cant.resolve.location.args.params=\
       
  1018     cannot find symbol\n\
       
  1019     symbol  : {0} <{2}>{1}({3})\n\
       
  1020     location: {4} {5}
   993 
  1021 
   994 ## The following are all possible string for "kindname".
  1022 ## The following are all possible string for "kindname".
   995 ## They should be called whatever the JLS calls them after it been translated
  1023 ## They should be called whatever the JLS calls them after it been translated
   996 ## to the appropriate language.
  1024 ## to the appropriate language.
   997 # compiler.misc.kindname.constructor=\
  1025 # compiler.misc.kindname.constructor=\
  1006     static
  1034     static
  1007 compiler.misc.kindname.type.variable=\
  1035 compiler.misc.kindname.type.variable=\
  1008     type variable
  1036     type variable
  1009 compiler.misc.kindname.type.variable.bound=\
  1037 compiler.misc.kindname.type.variable.bound=\
  1010     bound of type variable
  1038     bound of type variable
  1011 compiler.misc.kindname=\
       
  1012     identifier({0})
       
  1013 compiler.misc.kindname.variable=\
  1039 compiler.misc.kindname.variable=\
  1014     variable
  1040     variable
  1015 compiler.misc.kindname.value=\
  1041 compiler.misc.kindname.value=\
  1016     value
  1042     value
  1017 compiler.misc.kindname.method=\
  1043 compiler.misc.kindname.method=\
  1018     method
  1044     method
  1019 compiler.misc.kindname.variable.method=\
       
  1020     variable, method
       
  1021 compiler.misc.kindname.value.method=\
       
  1022     value, method
       
  1023 compiler.misc.kindname.class=\
  1045 compiler.misc.kindname.class=\
  1024     class
  1046     class
  1025 compiler.misc.kindname.variable.class=\
       
  1026     variable, class
       
  1027 compiler.misc.kindname.value.class=\
       
  1028     value, class
       
  1029 compiler.misc.kindname.method.class=\
       
  1030     method, class
       
  1031 compiler.misc.kindname.variable.method.class=\
       
  1032     variable, method, class
       
  1033 compiler.misc.kindname.value.method.class=\
       
  1034     value, method, class
       
  1035 compiler.misc.kindname.package=\
  1047 compiler.misc.kindname.package=\
  1036     package
  1048     package
  1037 compiler.misc.kindname.variable.package=\
       
  1038     variable, package
       
  1039 compiler.misc.kindname.value.package=\
       
  1040     value, package
       
  1041 compiler.misc.kindname.method.package=\
       
  1042     method, package
       
  1043 compiler.misc.kindname.variable.method.package=\
       
  1044     variable, method, package
       
  1045 compiler.misc.kindname.value.method.package=\
       
  1046     value, method, package
       
  1047 compiler.misc.kindname.class.package=\
       
  1048     class, package
       
  1049 compiler.misc.kindname.variable.class.package=\
       
  1050     variable, class, package
       
  1051 compiler.misc.kindname.value.class.package=\
       
  1052     value, class, package
       
  1053 compiler.misc.kindname.method.class.package=\
       
  1054     method, class, package
       
  1055 compiler.misc.kindname.variable.method.class.package=\
       
  1056     variable, method, class, package
       
  1057 compiler.misc.kindname.value.method.class.package=\
       
  1058     value, method, class, package
       
  1059 
       
  1060 #####
  1049 #####
  1061 
  1050 
  1062 compiler.err.override.static=\
  1051 compiler.err.override.static=\
  1063     {0}; overriding method is static
  1052     {0}; overriding method is static
  1064 compiler.err.override.meth=\
  1053 compiler.err.override.meth=\