| Summary: | LazyLinkingResource.getEObject fails on unresolved proxy object | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Peter Feiler <phf> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | sebastian.zarnekow | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Peter Feiler
Created attachment 195933 [details]
Contains simplified problem grammar, example model and stack traces
Hi Peter,
thanks for the detailled report. Are you aware of the fact that EObjects may not specify equals and hashcode? See Javadoc of EObject: "The framework also assumes that implementations will not specialize {@link #equals(Object)} (nor {@link #hashCode()})
so that "<code>==</code>" can be always used for equality testing;"
Therefore I close this one as won't fix. Please reopen if I missed something.
(In reply to comment #2) > Hi Peter, > > thanks for the detailled report. Are you aware of the fact that EObjects may > not specify equals and hashcode? See Javadoc of EObject: "The framework also > assumes that implementations will not specialize {@link #equals(Object)} (nor > {@link #hashCode()}) > so that "<code>==</code>" can be always used for equality testing;" > > Therefore I close this one as won't fix. Please reopen if I missed something. Thanks for the clue. I had missed that. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |