Bug 151998 - Some operations in UMLUtil are non-deterministic
Summary: Some operations in UMLUtil are non-deterministic
Status: VERIFIED FIXED
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 10:20 EDT by Kenn Hussey CLA
Modified: 2008-01-28 16:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenn Hussey CLA 2006-07-27 10:20:16 EDT
The order of the results that come back from some of the operations in UMLUtil is not consistent. For example, redefinition and subsetting references models produced by the PackageMerger is non-deterministic - i.e. merging the same model multiple times can result in different orderings. This can likely be addressed by using LinkedHashMap instead of HashMap where appropriate.
Comment 1 Kenn Hussey CLA 2006-07-27 12:59:40 EDT
The fix has been committed to CVS.
Comment 2 Kenn Hussey CLA 2006-08-03 10:28:44 EDT
Fixed in M200608030300.
Comment 3 Nick Boldt CLA 2008-01-28 16:36:05 EST
Move to verified as per bug 206558.