This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
trying to run my unit tests on a module freshly ported to 6.7.1 and 6.8m1, I'm running into a funny issue: I need to run a bunch of ant targets, some of them call <java>. Running any of them individually works fine. Running two of the targets calling <java> from a single call to ActionUtils.runTarget() and then doing waitFinished() never returns. Will attach an SSCCE in a separate comment
Created attachment 87884 [details] jar archive of an example nb module project
To try the sample, extract the attached jar, open it in NB 6.8m1 (and I think 6.7.1 is the same). Then, right-click->run the project and wait for the second NB to start. In the second instance from the menu bar select TEST->TEST EXECUTOR TASK. Watch the output in the first instance of NB. It should first execute the test target once and log a message "DONE ....". Then it should try to run the test target twice and you should see the second instance get to the "BUILD SUCCESSFUL" message showing that ant completed, but the first instance will never display the "DONE ...." message.
It seems InputStream thread hangs until next target runs.
Regression introduced by fix of issue #153431. core-main #a1f3ce3ad76a
Integrated into 'main-golden', will be available in build *200909230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a1f3ce3ad76a User: Jesse Glick <jglick@netbeans.org> Log: #172523: copier threads should be marked daemon so they do not block Ant process termination.