1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties Mon Jan 21 01:27:42 2013 -0500 1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties Mon Feb 04 18:08:53 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 # 1.5 -# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 +# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 # 1.9 # This code is free software; you can redistribute it and/or modify it 1.10 @@ -1340,6 +1340,10 @@ 1.11 1.12 compiler.err.assert.as.identifier=\u4ECE\u53D1\u884C\u7248 1.4 \u5F00\u59CB, ''assert'' \u662F\u4E00\u4E2A\u5173\u952E\u5B57, \u4F46\u4E0D\u80FD\u7528\u4F5C\u6807\u8BC6\u7B26\n(\u8BF7\u4F7F\u7528 -source 1.3 \u6216\u66F4\u4F4E\u7248\u672C\u4EE5\u5C06 ''assert'' \u7528\u4F5C\u6807\u8BC6\u7B26) 1.13 1.14 +# TODO 308: make a better error message 1.15 +# compiler.err.this.as.identifier=\ 1.16 +# as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter 1.17 + 1.18 # 0: string 1.19 compiler.err.generics.not.supported.in.source=-source {0} \u4E2D\u4E0D\u652F\u6301\u6CDB\u578B\n(\u8BF7\u4F7F\u7528 -source 5 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528\u6CDB\u578B) 1.20 1.21 @@ -1351,7 +1355,7 @@ 1.22 1.23 #308 compiler.err.type.annotations.not.supported.in.source=\ 1.24 #308 type annotations are not supported in -source {0}\n\ 1.25 -#308 (use -source 7 or higher to enable type annotations) 1.26 +#308 (use -source 8 or higher to enable type annotations) 1.27 1.28 # 0: string 1.29 compiler.err.foreach.not.supported.in.source=-source {0} \u4E2D\u4E0D\u652F\u6301 for-each \u5FAA\u73AF\n(\u8BF7\u4F7F\u7528 -source 5 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528 for-each \u5FAA\u73AF)