mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: mullan, mbaesken
This commit is contained in:
parent
78f67993f8
commit
e47a84f23d
2 changed files with 9 additions and 7 deletions
|
@ -802,7 +802,9 @@ public class JarFile extends ZipFile {
|
|||
throw new IOException("Unsupported size: " + uncompressedSize +
|
||||
" for JarEntry " + ze.getName() +
|
||||
". Allowed max size: " +
|
||||
SignatureFileVerifier.MAX_SIG_FILE_SIZE + " bytes");
|
||||
SignatureFileVerifier.MAX_SIG_FILE_SIZE + " bytes. " +
|
||||
"You can use the jdk.jar.maxSignatureFileSize " +
|
||||
"system property to increase the default value.");
|
||||
}
|
||||
int len = (int)uncompressedSize;
|
||||
int bytesRead;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue