JDK-8006846 : [install] pack200 fails with assertion error
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-01-24
  • Updated: 2013-06-07
  • Resolved: 2013-01-25
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 8
8 b75Fixed
Related Reports
Relates :  
Relates :  
Description
javac is producing out of spec class files, see https://jbs.oracle.com/bugs/browse/JDK-8003549,
until this is resolved install needs to pass through JARs without compression.

NOTE: By-passing  packing of jars during install will increase the bundle sizes.
Comments
This is a blocking issue for everyone using jdk8/tl + closed repositories as the new build requires install to be present and that won't build due to assertion in pack200. I think it should not be a problem for the install bundles to increase in size for a few weeks until this is resolved.
25-01-2013

Before: No pack200 jdk: 99MB 133MB jre: 27MB 40MB Note: this is temporary fix until we have a better fix to do a selective pass through.
25-01-2013

By how many KB will it increase the bundle sizes?
24-01-2013

Kumar, Is this for all platforms? Is there a pack200 option that can be added to install\make\common\Pack.gmk(104):PACK_CMD = $(PACK_EXE) $(PACK_JAVA_FLAGS) $(PACKOPTS) to pass through JARs without compression or otherwise workaround JDK-8003549 ? install\make\installerdll\installerdll\src\installer\RegInstall.cpp expects 7 .pack files to unpack
24-01-2013

Not sure which javac changeset actually caused the compiler to start doing this, but the changeset which causes this particular issue in the jdk is: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/919afffa70b0
24-01-2013

Just out of curiosity, Why haven't we seen these errors (of pack200 failing) for JDK8 builds? Since, which JDK8 build did this start? Thanks, - Pranav
24-01-2013