Summary: | ConcurrentModificationException when CTRL+LeftClick on constructor call in Java editor | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dino Klein <dinoklein> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.2 M3 | ||
Hardware: | PC | ||
OS: | Linux-GTK | ||
Whiteboard: |
Description
Dino Klein
2005-10-10 16:22:48 EDT
Olivier - could it be a bug in JRE ? It looks like the source has been retrieved from two different threads and this code is not thread safe. Jérôme, this seems to be an issue for all java element. Is it safe not to protect the access to the buffer contents? I think the call should be protected before accessing the Source mapper. Please indicate the Eclipse build ID you're using. (In reply to comment #3) > Please indicate the Eclipse build ID you're using. eclipse.buildId=I20050627-1435 In fact only 1 buffer is created. Fix should be in SourceMapper#findSource(...) I've been thinking about it - when holding down CTRL and hovering the mouse over a method gives the method's definition in a "tooltip" window, while clicking on the method opens the source file. Perhaps those were the two actions taking place, competing for the same resource? Would you have a reproducable test case you could try when this is fixed? Fixed and released in HEAD. Dino, could you please try to reproduce with next integration build? I could not find a regression test that reproduced this racing condition. Assume that problem is fixed for 3.2 M3 as Dino did not shout... |