Summary: | Classpath initialization on shutdown | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Rafael Chaves <eclipse> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | john.arthorne, Mike_Wilson, n.a.edgar, panagiotis.korros |
Version: | 3.1 | ||
Target Milestone: | 3.1 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Rafael Chaves
2005-05-06 11:57:33 EDT
Is there any way that Platform can tell us it is a save during shutdown (and not a save in the middle of the session) ? That's a good question. IWorkspace#save is API, so anybody can call it any time they want to. In practice, the IDE Workbench only ever calls save once, immediately before exiting the application. In this case the UI knows it is closing (IWorkbench.isClosing() returns true), but core doesn't know this. Is it difficult to always avoid classpath initialization during a full save callback (whenever JavaModelManager.saving is called)? *** Bug 93286 has been marked as a duplicate of this bug. *** *** Bug 95723 has been marked as a duplicate of this bug. *** Changed JavaModelManager#saving(...) to not cleanupIndexes if the workspace scope has not been initialized. If the workspace scope is initialized, then all containers will be initialized. Added regression test ClasspathInitializerTests#testContainerInitializer11(). Verified in i20050527-0010 |