-
Bug
-
Resolution: Fixed
-
P3
-
17, 18
-
b12
-
windows
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283556 | 18.0.2 | Chris Hegarty | P3 | Resolved | Fixed | b02 |
JDK-8313410 | 17.0.10-oracle | Johny Jose | P3 | Resolved | Fixed | b02 |
JDK-8283613 | 17.0.4 | Chris Hegarty | P3 | Resolved | Fixed | b01 |
character from the default file system, when mapping the relative path
of an entry in an exploded module to a package name. This causes
problems on Windows [*] when using a module finder with a custom file
system that has a path-separator character that differs from that of the
default file system, e.g. the zip file system (which uses '/',
rather than '\' ).
[*]
java.lang.module.FindException: Error reading module: /m2
at java.base/jdk.internal.module.ModulePath.readModule(ModulePath.java:350)
at java.base/jdk.internal.module.ModulePath.scanDirectory(ModulePath.java:284)
at java.base/jdk.internal.module.ModulePath.scan(ModulePath.java:232)
at java.base/jdk.internal.module.ModulePath.scanNextEntry(ModulePath.java:190)
at java.base/jdk.internal.module.ModulePath.findAll(ModulePath.java:166)
at ModulesInCustomFileSystem.listAllModules(ModulesInCustomFileSystem.java:108)
at ModulesInCustomFileSystem.testZipFileSystem(ModulesInCustomFileSystem.java:97)
at ModulesInCustomFileSystem.testExplodedModulesInZipFileSystem(ModulesInCustomFileSystem.java:68)
at ...
Caused by: java.lang.module.InvalidModuleDescriptorException: Package q.r not found in module
at java.base/jdk.internal.module.ModuleInfo.invalidModuleDescriptor(ModuleInfo.java:1212)
at java.base/jdk.internal.module.ModuleInfo.doRead(ModuleInfo.java:330)
at java.base/jdk.internal.module.ModuleInfo.read(ModuleInfo.java:129)
at java.base/jdk.internal.module.ModulePath.readExplodedModule(ModulePath.java:689)
at java.base/jdk.internal.module.ModulePath.readModule(ModulePath.java:320)
... 36 more
- backported by
-
JDK-8283556 Module finder incorrectly assumes default file system path-separator character
- Resolved
-
JDK-8283613 Module finder incorrectly assumes default file system path-separator character
- Resolved
-
JDK-8313410 Module finder incorrectly assumes default file system path-separator character
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/3c123f30
-
Commit openjdk/jdk18u/73014a2a
-
Commit openjdk/jdk/369291b2
-
Review openjdk/jdk17u-dev/266
-
Review openjdk/jdk18u/48
-
Review openjdk/jdk/7632