mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8216553: JrtFIleSystemProvider getPath(URI) omits /modules element from file path
Reviewed-by: alanb, jlaskey
This commit is contained in:
parent
4ff2682a4a
commit
0c724506b8
4 changed files with 61 additions and 7 deletions
|
@ -377,9 +377,9 @@ public class JarTask extends AbstractTask<JarTask> {
|
|||
private final Pattern jarEntry = Pattern.compile(".*!/(?:META-INF/sym/[^/]+/)?(.*)");
|
||||
|
||||
/*
|
||||
* A jrt: URL is of the form jrt:/modules/<module>/<package>/<file>
|
||||
* A jrt: URL is of the form jrt:/<module>/<package>/<file>
|
||||
*/
|
||||
private final Pattern jrtEntry = Pattern.compile("/modules/([^/]+)/(.*)");
|
||||
private final Pattern jrtEntry = Pattern.compile("/([^/]+)/(.*)");
|
||||
|
||||
/*
|
||||
* A file: URL is of the form file:/path/to/{modules,patches}/<module>/<package>/<file>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue