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

(pack200) The default value of Pack200.Packer.SEGMENT_LIMIT property is empty string instead of -1

XMLWordPrintable

    • b109
    • generic
    • generic
    • Verified

      The specification for java.util.jar.Pack200.Packer states since JDK7 b100:
      http://download.java.net/jdk7/docs/api/java/util/jar/Pack200.Packer.html#SEGMENT_LIMIT
      "The default is -1, which means the packer will always create a single segment output file."

      However the call Pack200.newPacker().properties().get(Packer.SEGMENT_LIMIT) returns empty string instead of -1.

            ksrini Kumar Srinivasan
            dmiltsov Dmitry Miltsov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: