Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8313216

Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar

    XMLWordPrintable

Details

    • behavioral
    • minimal
    • System or security property
    • JDK

    Description

      Summary

      The system property jdk.jar.maxSignatureFileSize is used to configure the maximum number of bytes for the signature-related files in a signed JAR. Increase its default value from 8000000 bytes (8 MB) to 16000000 bytes (16 MB).

      Problem

      The default value of the system property jdk.jar.maxSignatureFileSize is 8000000 bytes (8 MB), which is too low for JARs such as WhiteSource/Mend unified agent.

      Solution

      Increase the default value of the system property jdk.jar.maxSignatureFileSize from 8000000 bytes (8 MB) to 16000000 bytes (16 MB).

      Specification

      • Document the change of default value of the system property jdk.jar.maxSignatureFileSize in a release note (JDK-8313215).
      • Document the system property jdk.jar.maxSignatureFileSize in the security guides (see JDK-8313219).

      Attachments

        Issue Links

          Activity

            People

              hchao Haimay Chao
              mbaesken Matthias Baesken
              Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: