Community
Participate
Working Groups
In stepping through some code for another bug related to memory leaks, I noticed some behavior that doesn't seem correct. The DomainLoadingStrategy.getProject() method uses a call to getAdapter() for the model context. This can return null, even though the context itself does have a reference to the project. Though the interface IMetaDataModelContext does not declare getProject(), the implementations of this interface all seem to have a getProject() method.
Checked into HEAD. The getAdapter() code now correctly returns the project when available. The project may be null.