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.

Bug 97114

Summary: Deadlock in GlobalSourcePathTest.testRaceCondition2
Product: java Reporter: Jan Lahoda <jlahoda>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick, pflaska
Priority: P2 Keywords: TEST
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Full Thread Dump.

Description Jan Lahoda 2007-03-02 15:41:46 UTC
[recent sources]

The GlobalSourcePathTest.testRaceCondition2 deadlocks for me (see attached
thread dump).Could you please investigate? I am going to exclude this test for now.
Comment 1 Jan Lahoda 2007-03-02 15:44:10 UTC
Created attachment 39137 [details]
Full Thread Dump.
Comment 2 Jan Lahoda 2007-03-02 16:00:48 UTC
Disabled:
/cvs/java/source/test/cfg-unit.xml,v  <--  cfg-unit.xml
new revision: 1.21; previous revision: 1.20

Please feel free to adjust the priority as appropriate.
Comment 3 Tomas Zezula 2007-03-02 16:26:27 UTC
Related to the changes in the ClassPath. When SPI fores an event the ClassPath
immediately asks for resources. I will change the test.
Comment 4 Tomas Zezula 2007-03-02 16:49:09 UTC
Checking in GlobalSourcePathTest.java;
/cvs/java/source/test/unit/src/org/netbeans/modules/java/source/classpath/GlobalSourcePathTest.java,v
 <--  GlobalSourcePathTest.java
new revision: 1.4; previous revision: 1.3
done
Comment 5 Tomas Zezula 2007-03-02 16:53:07 UTC
Checking in cfg-unit.xml;
/cvs/java/source/test/cfg-unit.xml,v  <--  cfg-unit.xml
new revision: 1.23; previous revision: 1.22
done