United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6616590 fastdebug build hang when building java kernel
6616590 : fastdebug build hang when building java kernel

Details
Type:
Bug
Submit Date:
2007-10-13
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-01-25
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P1
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10

Related Reports

Sub Tasks

Description
cannot generate fastdebug build.

build process hangs when building java kernel in deploy workspace

                                    

Comments
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
                                     
2007-10-13



Hardware and Software, Engineered to Work Together