diff -r 9a96f02a6293 -r 680d378b9d64 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 Tue Jan 10 11:31:59 2017 -0800 +++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties Wed Jan 11 10:59:57 2017 +0100 @@ -823,17 +823,87 @@ compiler.err.not.annotation.type=\ {0} is not an annotation type -# 0: symbol, 1: symbol +# 0: symbol, 1: symbol, 2: message segment compiler.err.not.def.access.package.cant.access=\ - {0} is not visible because package {1} is not visible + {0} is not visible\n\ + ({2}) + +# 0: symbol, 1: symbol, 2: message segment +compiler.misc.not.def.access.package.cant.access=\ + {0} is not visible\n\ + ({2}) + +# 0: symbol, 1: message segment +compiler.err.package.not.visible=\ + package {0} is not visible\n\ + ({1}) + +# 0: symbol, 1: message segment +compiler.misc.package.not.visible=\ + package {0} is not visible\n\ + ({1}) + +# {0} - current module +# {1} - package in which the invisible class is declared +# {2} - module in which {1} is declared +# 0: symbol, 1: symbol, 2: symbol +compiler.misc.not.def.access.does.not.read=\ + package {1} is declared in module {2}, but module {0} does not read it + +# {0} - package in which the invisible class is declared +# {1} - module in which {0} is declared +# 0: symbol, 1: symbol +compiler.misc.not.def.access.does.not.read.from.unnamed=\ + package {0} is declared in module {1}, which is not in the module graph + +# {0} - package in which the invisible class is declared +# {1} - current module +# 0: symbol, 1: symbol +compiler.misc.not.def.access.does.not.read.unnamed=\ + package {0} is declared in the unnamed module, but module {0} does not read it + +# {0} - package in which the invisible class is declared +# {1} - module in which {0} is declared +# 0: symbol, 1: symbol +compiler.misc.not.def.access.not.exported=\ + package {0} is declared in module {1}, which does not export it + +# {0} - package in which the invisible class is declared +# {1} - module in which {0} is declared +# 0: symbol, 1: symbol +compiler.misc.not.def.access.not.exported.from.unnamed=\ + package {0} is declared in module {1}, which does not export it + +# {0} - package in which the invisible class is declared +# {1} - module in which {0} is declared +# {2} - current module +# 0: symbol, 1: symbol, 2: symbol +compiler.misc.not.def.access.not.exported.to.module=\ + package {0} is declared in module {1}, which does not export it to module {2} + +# {0} - package in which the invisible class is declared +# {1} - module in which {0} is declared +# 0: symbol, 1: symbol +compiler.misc.not.def.access.not.exported.to.module.from.unnamed=\ + package {0} is declared in module {1}, which does not export it to the unnamed module # 0: symbol, 1: symbol compiler.err.not.def.access.class.intf.cant.access=\ - {0} in {1} is defined in an inaccessible class or interface + {1}.{0} is defined in an inaccessible class or interface # 0: symbol, 1: symbol compiler.misc.not.def.access.class.intf.cant.access=\ - {0} in {1} is defined in an inaccessible class or interface + {1}.{0} is defined in an inaccessible class or interface + +# 0: symbol, 1: symbol, 2: symbol, 3: message segment +compiler.err.not.def.access.class.intf.cant.access.reason=\ + {1}.{0} in package {2} is not accessible\n\ + ({3}) + +# 0: symbol, 1: symbol, 2: symbol, 3: message segment +compiler.misc.not.def.access.class.intf.cant.access.reason=\ + {1}.{0} in package {2} is not accessible\n\ + ({3}) # 0: symbol, 1: list of type, 2: type compiler.misc.cant.access.inner.cls.constr=\