< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java

Print this page
rev 2977 : JDK-8058150

*** 329,338 **** --- 329,340 ---- return; } for (Path f: files) { String fname = f.getFileName().toString(); + if (fname.endsWith("/")) + fname = fname.substring(0, fname.length() - 1); if (Files.isDirectory(f)) { if (recurse && SourceVersion.isIdentifier(fname)) { listDirectory(directory, new RelativeDirectory(subdirectory, fname), fileKinds,
< prev index next >