1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Jan 21 20:15:16 2013 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Jan 21 20:19:53 2013 +0000 1.3 @@ -948,6 +948,11 @@ 1.4 compiler.err.default.overrides.object.member=\ 1.5 default method {0} in {1} {2} overrides a member of java.lang.Object 1.6 1.7 +# 0: type 1.8 +compiler.err.illegal.static.intf.meth.call=\ 1.9 + illegal static interface method call\n\ 1.10 + the receiver expression should be replaced with the type qualifier ''{0}'' 1.11 + 1.12 # 0: type, 1: message segment 1.13 compiler.err.illegal.default.super.call=\ 1.14 bad type qualifier {0} in default super call\n\ 1.15 @@ -2213,6 +2218,11 @@ 1.16 intersection types in cast are not supported in -source {0}\n\ 1.17 (use -source 8 or higher to enable default methods) 1.18 1.19 +# 0: string 1.20 +compiler.err.static.intf.methods.not.supported.in.source=\ 1.21 + static interface methods are not supported in -source {0}\n\ 1.22 + (use -source 8 or higher to enable static interface methods) 1.23 + 1.24 ######################################## 1.25 # Diagnostics for verbose resolution 1.26 # used by Resolve (debug only)