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.
Created attachment 108865 [details] log of ant execution with dump of all thread I was not able to run unit tests for debugger.jpda project. I tried from both ant and Netbeans IDE without success. Output from ant with -v flag is attached. I also tried both 7.0 and DEV branch from Mercurial. Both hang. PS. Please note that unit tests for other project run fine. For example debugger.jpda.projects run OK. The issue is limited to this particular project.
Reproduced on Linux as well. I've got a deadlock.
Created attachment 108872 [details] The deadlock that I've got.
The tests "run" really badly. And they run in a different environment from the production. Lookup items that represent debugger services in the test are of class org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$FOItem but in the production environment they are of class org.openide.loaders.FolderLookup$ICItem Their behavior is different.
Fixed by changeset: 195984:e830b4062419 http://hg.netbeans.org/main/rev/e830b4062419 The tests have to run in IDE environment. All tests should pass, only ThreadBreakpointTest is failing.
See issue #199503 for problems in ThreadBreakpointTest.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e830b4062419 User: mentlicher@netbeans.org Log: #199367 Deadlock problem in Lookup resolved, JPDA tests run in IDE environment now because of correct behavior of lookup items, some tests adjusted a bit.