--- old/test/langtools/tools/lib/toolbox/JarTask.java 2019-05-28 11:33:17.000000000 +0530 +++ new/test/langtools/tools/lib/toolbox/JarTask.java 2019-05-28 11:33:17.000000000 +0530 @@ -377,9 +377,9 @@ private final Pattern jarEntry = Pattern.compile(".*!/(?:META-INF/sym/[^/]+/)?(.*)"); /* - * A jrt: URL is of the form jrt:/modules/// + * A jrt: URL is of the form jrt:/// */ - 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}///