< prev index next >

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

Print this page

        

*** 40,50 **** import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.ProviderNotFoundException; - import java.nio.file.spi.FileSystemProvider; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.EnumMap; --- 40,49 ----
*** 61,71 **** import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; - import java.util.zip.ZipFile; import javax.lang.model.SourceVersion; import javax.tools.JavaFileManager; import javax.tools.JavaFileManager.Location; import javax.tools.StandardJavaFileManager; --- 60,69 ----
*** 157,170 **** ex.addSuppressed(e); throw ex; } } ! // could replace Lint by "boolean warn" ! void update(Log log, Lint lint, FSInfo fsInfo) { this.log = log; ! warn = lint.isEnabled(Lint.LintCategory.PATH); this.fsInfo = fsInfo; } void setPathFactory(PathFactory f) { pathFactory = f; --- 155,167 ---- ex.addSuppressed(e); throw ex; } } ! void update(Log log, boolean warn, FSInfo fsInfo) { this.log = log; ! this.warn = warn; this.fsInfo = fsInfo; } void setPathFactory(PathFactory f) { pathFactory = f;
< prev index next >