-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b154
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8174608 | 10 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8174608 Detect duplicated resources in packaged modules
-
- Resolved
-
- relates to
-
JDK-8172982 tools/jlink/ResourceDuplicateCheckTest.java requires jdk.tools.jlink.plugin to be exported
-
- Closed
-