| Summary: | [preferences] classpath variables are not exported if the session is closed and restored | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
| Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | 3.1 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Olivier Thomann
The fix would be to not remove the variable from the preferences in JavaModelManager#loadVariableAndContainers() (ligne 1787) +1 for RC2 Changed JavaModelManager#loadVariablesAndContainers() to remove the variable from the preferences only in the case of CP_ENTRY_IGNORE. Also changed JavaModelManager#variablePut(...) to remove the variable from the preferences if the path is null. Added regression tests OptionTest#test10() and test11(). Verified in N20050609-0010 + JDT/Core HEAD Verified for 3.1 RC2 using build I20050610-0010 |