--- a/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java Mon Feb 15 19:52:03 2016 -0800
+++ b/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java Mon Feb 15 22:21:39 2016 -0800
@@ -261,8 +261,8 @@
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);