Summary: | Exception while deleting a method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Dirk Baeumer
2002-01-29 11:39:18 EST
suspect an incorrect delta when deleting two members. moving to Jdt core for investigation. Is this in a classfile ? Suspecting this could be related to delta notification in classfiles when proj==src==bin... No, this is the TestCase class from JUnit. I changed the source and then deleted two methods Problem was that the previous ADDED delta (i.e. for the addition of setCount) was not being fired and this conflicted with the DELETED delta for this same method. The ADDED delta was not being fired because the CreateElementInCUOperation assumed that saving the buffer of a cu would trigger a resource delta. This assumption was not true if the cu was a working copy. Fixed CreateElementInCUOperation and DeleteElementsOperation. |