langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java
changeset 36040 a664cd8faf9c
parent 35426 374342e56a56
child 40587 1c355ea550ed
equal deleted inserted replaced
36039:add34c39d882 36040:a664cd8faf9c
   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) {