jar tool should detect when legacy services configuration file is not in sync with module declaration

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jar

      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.

            Assignee:
            Lance Andersen
            Reporter:
            Alan Bateman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: