On Thu, 23 Sep 2021 11:26:26 GMT, Alan Bateman <[email protected]> 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"
Will do so.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5543