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 130676 - Rewrite DatabaseNodeChildren to use ChildFactory
Summary: Rewrite DatabaseNodeChildren to use ChildFactory
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks: 128973 129382 129700 130379 130717
  Show dependency tree
 
Reported: 2008-03-20 16:48 UTC by David Vancouvering
Modified: 2008-03-22 01:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Vancouvering 2008-03-20 16:48:25 UTC
The current implementation is extremely buggy, particularly when it comes to synchronization.  Rewrite the way
DatabaseNode children are managed to use Children.Factory, which takes care of all these issues for you.

This is a fairly large rewrite, but it is necessary because there have been an ongoing series of bugs having to do with
deadlocks or timing bugs all related to how these node children are managed.  I can keep on trying to bandaid up this
code but it is taking me a lot of time and never seems to fully resolve things.  If we are to add further support for
inserting other nodes into the DB explorer, this has to be fixed.
Comment 1 David Vancouvering 2008-03-20 16:51:34 UTC
Should be ChildFactory, not Children.Factory.
Comment 2 David Vancouvering 2008-03-22 01:18:05 UTC
http://hg.netbeans.org/main?cmd=changeset;node=55f0a2c11fb2

Praise be!  I am pretty sure all the dependent bugs are fixed with this too...