On Thu, 16 Sep 2021 09:06:20 GMT, Christian Stein <cst...@openjdk.org> wrote:

> This commit appends the name of the JAR file to the exception message for 
> when automatic module lists a non-existing provider class.

src/java.base/share/classes/jdk/internal/module/ModulePath.java line 554:

> 552:                         String pn = packageName(cn);
> 553:                         if (!packages.contains(pn)) {
> 554:                             String msg = "Provider class " + cn + " not 
> in module created for " + fn;

"not in module created" isn't quite right as the module cannot be created.  
Maybe you could change it to "not in JAR file"

-------------

PR: https://git.openjdk.java.net/jdk/pull/5543

Reply via email to