We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bf31a3 commit 1b5a1ecCopy full SHA for 1b5a1ec
src/tools/groovy/generate-deprecated-java9.groovy
@@ -27,7 +27,7 @@ import java.nio.file.attribute.BasicFileAttributes;
27
new DeprecatedGen<URI>(properties['build.java.runtime'], URI.create("jrt:/"), properties['deprecated.output.file'] as File) {
28
@Override
29
protected void collectClasses(URI uri) throws IOException {
30
- Path modules = Paths.get(uri);
+ Path modules = Paths.get(uri).getRoot().resolve('modules'); // needed for Java 9-12 only, but does not hurt!
31
PathMatcher fileMatcher = modules.getFileSystem().getPathMatcher("glob:/modules/java.**/*.class");
32
Files.walkFileTree(modules, new SimpleFileVisitor<Path>() {
33
0 commit comments