JDK-6616590 : fastdebug build hang when building java kernel
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-10-13
  • Updated: 2010-09-08
  • Resolved: 2008-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.
6u10 b05Fixed
cannot generate fastdebug build.

build process hangs when building java kernel in deploy workspace

EVALUATION when we pack/unpack unbundles in fast debug build, the unpack200.exe output a bundle of output to the stdout: bit length overflow code 4 bits 6->7 bit length overflow code 5 bits 6->7 ... unpack200 will complete successfully. but when we invoke it via Runtime.getRuntime.Exec, if it is printing substantial output to its stdout or stderr streams, p.waitFor on the forked process will hang. this is a known issue and the solution is to read in the forked process output stream in the background: http://java.sun.com/j2se/1.3/relnotes-solaris.html#product-notes