langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Wed Nov 23 16:16:36 2016 +0000
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Thu Dec 01 09:02:42 2016 +0000
@@ -872,6 +872,9 @@
compiler.err.pkg.annotations.sb.in.package-info.java=\
package annotations should be in file package-info.java
+compiler.err.no.pkg.in.module-info.java=\
+ package clauses should not be in file module-info.java
+
# 0: symbol
compiler.err.pkg.clashes.with.class.of.same.name=\
package {0} clashes with class of same name
@@ -1463,6 +1466,14 @@
{0} in {1} has been deprecated and marked for removal
# 0: symbol
+compiler.warn.has.been.deprecated.module=\
+ module {0} has been deprecated
+
+# 0: symbol
+compiler.warn.has.been.deprecated.for.removal.module=\
+ module {0} has been deprecated and marked for removal
+
+# 0: symbol
compiler.warn.sun.proprietary=\
{0} is internal proprietary API and may be removed in a future release
@@ -1796,6 +1807,9 @@
reached end of file while parsing
## The following are related in form, but do not easily fit the above paradigm.
+compiler.err.expected.module=\
+ ''module'' expected
+
compiler.err.dot.class.expected=\
''.class'' expected
@@ -2747,8 +2761,23 @@
duplicate requires: {0}
# 0: symbol
-compiler.err.duplicate.exports=\
- duplicate export: {0}
+compiler.err.conflicting.exports=\
+ duplicate or conflicting exports: {0}
+
+# 0: symbol
+compiler.err.conflicting.opens=\
+ duplicate or conflicting opens: {0}
+
+# 0: symbol
+compiler.err.conflicting.exports.to.module=\
+ duplicate or conflicting exports to module: {0}
+
+# 0: symbol
+compiler.err.conflicting.opens.to.module=\
+ duplicate or conflicting opens to module: {0}
+
+compiler.err.no.opens.unless.strong=\
+ ''opens'' only allowed in strong modules
# 0: symbol, 1: symbol
compiler.err.duplicate.provides=\
@@ -2763,7 +2792,11 @@
the service implementation is an abstract class: {0}
compiler.err.service.implementation.must.be.subtype.of.service.interface=\
- the service implementation type must be a subtype of the service interface type
+ the service implementation type must be a subtype of the service interface type, or \
+ have a public static no-args method named "provider" returning the service implementation
+
+compiler.err.service.implementation.provider.return.must.be.subtype.of.service.interface=\
+ the "provider" method return type must be a subtype of the service interface type
# 0: symbol
compiler.err.service.implementation.is.inner=\
@@ -2799,6 +2832,14 @@
compiler.misc.module.name.mismatch=\
module name {0} does not match expected name {1}
+# 0: name
+compiler.err.module.non.zero.opens=\
+ open module {0} has non-zero opens_count
+
+# 0: name
+compiler.misc.module.non.zero.opens=\
+ open module {0} has non-zero opens_count
+
compiler.err.module.decl.sb.in.module-info.java=\
module declarations should be in a file named module-info.java
@@ -2855,6 +2896,9 @@
compiler.err.addmods.all.module.path.invalid=\
--add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module
+compiler.warn.addopens.ignored=\
+ --add-opens has no effect at compile time
+
compiler.misc.locn.module_source_path=\
module source path
@@ -2885,8 +2929,8 @@
compiler.warn.leaks.not.accessible.unexported=\
{0} {1} in module {2} is not exported
# 0: kind name, 1: symbol, 2: symbol
-compiler.warn.leaks.not.accessible.not.required.public=\
- {0} {1} in module {2} is not indirectly exported using 'requires public'
+compiler.warn.leaks.not.accessible.not.required.transitive=\
+ {0} {1} in module {2} is not indirectly exported using 'requires transitive'
# 0: kind name, 1: symbol, 2: symbol
compiler.warn.leaks.not.accessible.unexported.qualified=\
{0} {1} in module {2} may not be visible to all clients that require this module