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

Detect duplicated resources in packaged modules

XMLWordPrintable

    • b154
    • Verified

        Where there is any duplicated resource in package modules, jlink fails when it attempts to write into the image that throws FileAlreadyExistsException.

        jlink should detect duplicated resources early before it creates the image. It may need to take the exclude plugins into consideration and whether there is any need to allow duplicated resource files be excluded and continue the image be created.

        JDK-8167558 improves the error message to include which modules contain the duplicated resource that are not in the classes section.

              sundar Sundararajan Athijegannathan
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: