mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8273826: Correct Manifest file name and NPE checks
Reviewed-by: weijun, hchao, mullan
This commit is contained in:
parent
722d639fad
commit
03a8d342b8
5 changed files with 137 additions and 11 deletions
|
@ -749,7 +749,7 @@ public class JarFile extends ZipFile {
|
|||
}
|
||||
if (mev == null) {
|
||||
mev = new ManifestEntryVerifier
|
||||
(getManifestFromReference());
|
||||
(getManifestFromReference(), jv.manifestName);
|
||||
}
|
||||
if (name.equalsIgnoreCase(MANIFEST_NAME)) {
|
||||
b = jv.manifestRawBytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue