JDK-6969063 : (pack200) The default value of Pack200.Packer.SEGMENT_LIMIT property is empty string instead of -1
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-07-14
  • Updated: 2012-03-22
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b109Fixed
Related Reports
Relates :  
Description
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.

Comments
EVALUATION Needs to be fixed.
23-07-2010