< prev index next >

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

Print this page




  63 #
  64 # message segment --> diagnostic or fragment
  65 # file name --> file, path or file object
  66 #
  67 # Custom comments are supported in parenthesis i.e.
  68 #
  69 # number (classfile major version)
  70 #
  71 # These comments are used internally in order to generate an enum-like class declaration containing
  72 # a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used
  73 # by javac code to build diagnostics in a type-safe fashion.
  74 #
  75 # In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
  76 # using info derived from the collected set of examples in test/tools/javac/diags/examples.
  77 # MessageInfo can also be run as a standalone utility providing more facilities
  78 # for manipulating this file. For more details, see MessageInfo.java.
  79 
  80 ## All errors are preceded by this string.
  81 launcher.error=错误: 
  82 
  83 launcher.err.no.args=无文件名
  84 
  85 # 0: string
  86 launcher.err.invalid.filename=无效的文件名:{0}
  87 
  88 # 0: path
  89 launcher.err.file.not.found=找不到文件: {0}
  90 
  91 launcher.err.compilation.failed=编译失败
  92 
  93 launcher.err.no.class=在文件中未声明类
  94 
  95 launcher.err.main.not.public.static=''main'' 方法未声明 ''public static''
  96 
  97 launcher.err.main.not.void=未使用返回类型 ''void'' 声明 ''main'' 方法
  98 
  99 # 0: string
 100 launcher.err.cant.find.class=找不到类:{0}
 101 
 102 # 0: string
 103 launcher.err.unexpected.class=在应用程序类路径 {0} 中找到类
 104 
 105 # 0: string
 106 launcher.err.cant.find.main.method=在类 {0} 中找不到 main(String[]) 方法
 107 
 108 # 0: string
 109 launcher.err.cant.access.main.method=无法访问类 {0} 中的 main 方法
 110 
 111 # 0: path, 1: object
 112 launcher.err.cant.read.file=读取文件 {0} 时出错:{1}
 113 
 114 # 0: string
 115 launcher.err.no.value.for.option=没有为选项 {0} 指定值
 116 
 117 # 0: string
 118 launcher.err.invalid.value.for.source=--source 选项的值无效:{0}\n
 119 
 120 launcher.err.enable.preview.requires.source=--enable-preview 必须与 --source 一起使用


  63 #
  64 # message segment --> diagnostic or fragment
  65 # file name --> file, path or file object
  66 #
  67 # Custom comments are supported in parenthesis i.e.
  68 #
  69 # number (classfile major version)
  70 #
  71 # These comments are used internally in order to generate an enum-like class declaration containing
  72 # a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used
  73 # by javac code to build diagnostics in a type-safe fashion.
  74 #
  75 # In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
  76 # using info derived from the collected set of examples in test/tools/javac/diags/examples.
  77 # MessageInfo can also be run as a standalone utility providing more facilities
  78 # for manipulating this file. For more details, see MessageInfo.java.
  79 
  80 ## All errors are preceded by this string.
  81 launcher.error=错误: 
  82 
  83 launcher.err.no.args=无源文件的路径
  84 
  85 # 0: string
  86 launcher.err.invalid.filename=源文件的路径无效:{0}
  87 
  88 # 0: path
  89 launcher.err.file.not.found=找不到源文件:{0}
  90 
  91 launcher.err.compilation.failed=编译失败
  92 
  93 launcher.err.no.class=在源文件中未声明类
  94 
  95 launcher.err.main.not.public.static=''main'' 方法未声明 ''public static''
  96 
  97 launcher.err.main.not.void=未使用返回类型 ''void'' 声明 ''main'' 方法
  98 
  99 # 0: string
 100 launcher.err.cant.find.class=找不到类:{0}
 101 
 102 # 0: string



 103 launcher.err.cant.find.main.method=在类 {0} 中找不到 main(String[]) 方法
 104 
 105 # 0: string
 106 launcher.err.cant.access.main.method=无法访问类 {0} 中的 main 方法
 107 
 108 # 0: path, 1: object
 109 launcher.err.cant.read.file=读取源文件 {0} 时出错:{1}
 110 
 111 # 0: string
 112 launcher.err.no.value.for.option=没有为选项 {0} 指定值
 113 
 114 # 0: string
 115 launcher.err.invalid.value.for.source=--source 选项的值无效:{0}\n
 116 
 117 launcher.err.enable.preview.requires.source=--enable-preview 必须与 --source 一起使用
< prev index next >