Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8262944

Improve exception message when automatic module lists provider class not in JAR file

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None

      Description

      If a JAR is deployed on the module path to be an automatic module, and it contains a META-INF/services configuration file that lists the name of a class that is not in the JAR file, then error message is "Provider class XXXX not in module". This could be improved to include the file path or name of the JAR file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cstein Christian Stein
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: