langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java
equal
deleted
inserted
replaced
259 file = file.resolveAgainst(DocumentationTool.Location.DOCUMENTATION_OUTPUT); |
259 file = file.resolveAgainst(DocumentationTool.Location.DOCUMENTATION_OUTPUT); |
260 } |
260 } |
261 try { |
261 try { |
262 if (file.exists() && file.canRead()) { |
262 if (file.exists() && file.canRead()) { |
263 boolean pathIsRelative = |
263 boolean pathIsRelative = |
264 !DocFile.createFileForInput(configuration, path).isAbsolute() |
264 !isUrl(path) |
265 && !isUrl(path); |
265 && !DocFile.createFileForInput(configuration, path).isAbsolute(); |
266 readPackageList(file.openInputStream(), path, pathIsRelative); |
266 readPackageList(file.openInputStream(), path, pathIsRelative); |
267 } else { |
267 } else { |
268 throw new Fault(configuration.getText("doclet.File_error", file.getPath()), null); |
268 throw new Fault(configuration.getText("doclet.File_error", file.getPath()), null); |
269 } |
269 } |
270 } catch (IOException exc) { |
270 } catch (IOException exc) { |