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

Detect duplicated resources in packaged modules

    XMLWordPrintable

Details

    • b154
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: