From ed97c87088b28fcc25f83c35ff47cd2bf38aaf2c Mon Sep 17 00:00:00 2001
From: Jan Lahoda <jlahoda@openjdk.org>
Date: Mon, 2 Dec 2019 10:58:13 +0100
Subject: [PATCH] 8233524: Wrong module name for \"package P is declared in the
 unnamed module, but module M does not read it\"

Using the correct placeholder for the module name.

Reviewed-by: jjg
---
 .../classes/com/sun/tools/javac/resources/compiler.properties   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
index 7054ef9fb71..1fcdcd40f4a 100644
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
@@ -953,7 +953,7 @@ compiler.misc.not.def.access.does.not.read.from.unnamed=\
 # {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
+    package {0} is declared in the unnamed module, but module {1} does not read it
 
 # {0} - package in which the invisible class is declared
 # {1} - module in which {0} is declared