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

"Module <name>'s descriptor returns inconsistent package set" confusing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b158
    • Verification:
      Verified

      Backports

        Description

        A runtime exception with this message is thrown when jlink validates the set of packages reported by the module descriptor against the packages in the resource pool. We need to make this error a lot clearer, minimally to include one of the packages that is not found.

        This issue was initially reported on jigsaw-dev where the issue (we think) is modular JARs created by JDK 8 with a ModulePackages class file attribute created by some other tool. It is likely that modular JARs will be created by IDEs and other tools running on JDK 8 so if there are issues then they need to be easy to diagnose.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: