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.
Summary: | ConcurrentModificationException fired unreasonably | ||
---|---|---|---|
Product: | java | Reporter: | Svata Dedic <sdedic> |
Component: | Unsupported | Assignee: | Daniel Prusa <dprusa> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Exception's stacktrace |
Description
Svata Dedic
2002-02-05 18:35:20 UTC
Created attachment 4582 [details]
Exception's stacktrace
During discussion with Martin about this issue an interesting thing came out: Suppose you'll have two classes C connected by an association A in the metamodel. Now suppose there are instances of C (a, b, c, d, e) connected as a -> b and c -> d. If the client code now retrieves link collection with endpoint "c" trying to iterate through the collection and some other thread is changing a -> b to e.g. a->e, the iterating client will get the ConcurrentModEx. This is quite unusual and unexpected for the client, since nothing has interfered with the link set being iterated. Fixed in main trunk. quite for too long, verified |