Community
Participate
Working Groups
hi, I am using: Version: 3.1.0 Build id: 200408170800 I had a few java projects that were closed before the last shutdown of hte eclipse platform. When I restarted the platform, i used the context menu to open one of the projects. I waited till i saw that the progress monitor showing that it had started building the classes. At this point, I hit Ctrl+Shift+T to get the "open type" dialog - but instead, I got an error dialog whote title was "Type Selection" saying that "No types available". At this stage, keeping the project open, if I shutdown and restart the eclipse platform, Ctrl+Shift+T works as expected. But I should not need to restart eclipse. Could this be rectified?
In 3.0 when the project is closed, the type is still available. Now in 3.1 M1, the type is no longer available after the close, but its not available after the 'open project' either. Jerome, do you know of any changes in & around open/close projects?
The JavaElementDelta was changed from REMOVED to CHANGED with the F_CLOSED flag set (and from ADDED to CHANGED with the F_OPENED flag set). The AllTypesCache doesn't react to these changes yet. Moving to JDT/UI to make the change.
Jerome, when did these changes go in ?
I went in early July. See bug 65943. You want to do the change in R3_0_maintenance as well.
Jerome, from your comment I assume that this went into the maintenance build as well. What is the reason why you put this into 3.0.1. Changing deltas in a maintenance build seems somehow risky for me ?
I'm not sure why this would be more risky than fixing other bugs ? Hopefully clients don't rely on bugs.
Fixed for M2. Added test case AllTypesCache#testOpenCloseProject
Verified as fixed in Version: 3.1.0 Build id: 200411041200
Closing