8149903: Fix other Extern

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2016-02-15 22:21:39 -08:00
parent bd2fa9abe6
commit 68fd352eb8

View File

@ -261,8 +261,8 @@ public class Extern {
try {
if (file.exists() && file.canRead()) {
boolean pathIsRelative =
!DocFile.createFileForInput(configuration, path).isAbsolute()
&& !isUrl(path);
!isUrl(path)
&& !DocFile.createFileForInput(configuration, path).isAbsolute();
readPackageList(file.openInputStream(), path, pathIsRelative);
} else {
throw new Fault(configuration.getText("doclet.File_error", file.getPath()), null);