Summary: | AbstractTextEditor.doSetInput temporarily references an unconnected document | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Michael Scharf <eclipse> |
Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 RC2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Michael Scharf
2004-06-01 22:03:37 EDT
to be investigated The mentioned accesses to unreferenced documents are eliminated in build I200406100800. Please be aware that deconstructing the document on disconnect is dangerous. IDocumentProvider does not specify that a document once obtained from the provider may become invalid without notification. The same is true for IDocument. IDocument does not define a live cycle or predicates that tell a client whether a document is deconstructed or disposed. Thus, any code that does not care about the life cycle of specific IDocument implementations is valid code. The changes I made can not be expected in general. It's just courtesy. start verifying verified in I200406110010 through code inspection |