Community
Participate
Working Groups
To reproduce: - Open java file, add annotation (do not save) - Java delta is received with F_CONTENT flag (indicating a change to annotations, among other possible things) - Close editor, do not save file - Java delta is received without F_CONTENT flag When compilation units revert to original non-working copy, usually detailed information is given to show what has been reverted, including children, modifiers, etc. We need to know if annotations have been reverted, so this flag is important for us.
Changed JavaModelManager#discardPerWorkingCopyInfo(...) to report the delta even if there are no children changes. Added regression test WorkingCopyOwnerTests#testDeltaDiscardPrimaryWorkingCopy4(). Released for 3.3 M1 in HEAD.
Verified for 3.3 M1 using build I20060807-0010.