| Summary: | [GEF] thread safety issue | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Arnaud MERGEY <a_mergey> | ||||||||
| Component: | Incubator | Assignee: | Arnaud MERGEY <a_mergey> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | austin.riddle | ||||||||
| Version: | 1.5 | ||||||||||
| Target Milestone: | 2.2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Arnaud MERGEY
Created attachment 215959 [details]
A patch proposal
Created attachment 215970 [details]
Fixed patch
Sorry, I am not used to Egit yet, so previous patch was incomplete
(In reply to comment #0) Hi Arnaud, this is a nasty practice on the part of GEF. These static final anchors should not be created anyway because they can end up having lots of listeners registered on them. What I would prefer, instead of having a session singleton, is to make the default anchors instance members instead of session singleton members. Yes it makes sense for me, so in this case I should probably also create a bug on GEF side also. If they fix that, it will be easier later for RAP port Created attachment 228375 [details]
Git patch
I submit this patch because as i already have a pull request opened in github, I cannot create a new one
A commit with this patch has been added to an open pull request against rap gef port project in github Fixed in master with commit f1d78ae07735b82647dc149c380fe66706e22bbf |