ClassLoader.getResources vs Module.getResourceAsStream
Alan Bateman
Alan.Bateman at oracle.com
Mon Jul 16 10:49:31 UTC 2018
On 16/07/2018 09:09, Remi Forax wrote:
> :
>
> Alan, we should patch jar to warn when there is a module-info.class that declare services with no corresponding META-INF/services.
>
I'll create an issue in JIRA for that. As things stands, the `jar` tool
does some sanity checks but it doesn't catch the case where the legacy
services configuration file doesn't match the module declaration. That
said, it probably needs the equivalent in one or more Maven plugins as
they are likely using the java.util.jar API rather than the `jar` tool.
-Alan
More information about the jigsaw-dev
mailing list