A modular JAR containing a service provider may have a META-INF/services configuration file for cases where it is deployed no the class path rather than the module path. It's easy to get the `provides` and the configuration file out of sync. The `jar` tool currently does some sanity checks in this area but it could do more, and specifically it should warn or emit an error when the services configuration file is not in sync with the module delcaration.
jar tool should detect when legacy services configuration file is not in sync with module declaration
-
Lance Andersen
-
Alan Bateman
- Votes:
-
1 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated: