mirror of
https://github.com/openjdk/jdk8u.git
synced 2025-12-12 00:34:09 -06:00
8167014: jdeps: Missing message: warn.skipped.entry
Reviewed-by: alanb, lancea, phh
This commit is contained in:
parent
9e26d0bfbf
commit
01bd1301a9
@ -337,7 +337,10 @@ public class ClassFileReader {
|
||||
cf = reader.readClassFile(jf, nextEntry);
|
||||
return true;
|
||||
} catch (ClassFileError | IOException ex) {
|
||||
skippedEntries.add(nextEntry.getName());
|
||||
skippedEntries.add(String.format("%s: %s (%s)",
|
||||
ex.getMessage(),
|
||||
nextEntry.getName(),
|
||||
jf.getName()));
|
||||
}
|
||||
nextEntry = nextEntry();
|
||||
}
|
||||
|
||||
@ -560,7 +560,7 @@ class JdepsTask {
|
||||
}
|
||||
}
|
||||
for (String name : a.reader().skippedEntries()) {
|
||||
warning("warn.skipped.entry", name, a.getPathName());
|
||||
warning("warn.skipped.entry", name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,6 +92,7 @@ err.option.unsupported={0} not supported: {1}
|
||||
err.profiles.msg=No profile information
|
||||
err.invalid.path=invalid path: {0}
|
||||
warn.invalid.arg=Invalid classname or pathname not exist: {0}
|
||||
warn.skipped.entry={0}
|
||||
warn.split.package=package {0} defined in {1} {2}
|
||||
warn.replace.useJDKInternals=\
|
||||
JDK internal APIs are unsupported and private to JDK implementation that are\n\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user