Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 374348 - Infinite loop in Facet override resolution
Summary: Infinite loop in Facet override resolution
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-15 05:35 EDT by Olivier Remaud CLA
Modified: 2020-05-01 11:26 EDT (History)
2 users (show)

See Also:
gdupe: juno+


Attachments
Proposed patch (5.36 KB, patch)
2012-03-15 05:37 EDT, Olivier Remaud CLA
gdupe: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Remaud CLA 2012-03-15 05:35:13 EDT
The method FacetManager.internalInvoke() goes into an infinite loop when accessing a feature that both has an override and a conformanceTypedElement.
This problem also arise in FacetManager.internalInvoke()
Comment 1 Olivier Remaud CLA 2012-03-15 05:37:36 EDT
Created attachment 212707 [details]
Proposed patch

(a) I, Olivier Remaud, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.
(d) This contribution contains no Cryptography features.
Comment 2 Gregoire Dupe CLA 2012-03-15 05:50:41 EDT
Comment on attachment 212707 [details]
Proposed patch

This patch is smaller than 250 lines (22 lines).

I've committed this patch.

Committed revision 1835.
Comment 3 Gregoire Dupe CLA 2012-03-15 05:51:41 EDT
This bug can be marked as fixed.
Comment 4 Olivier Remaud CLA 2012-04-26 09:15:45 EDT
No more infinite loop.