Summary: | Documentation for JavaCore#CORE_ENCODING does not match the observed behavior | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maxime Daniel <maxime_daniel> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, Olivier_Thomann, srikanth_sankaran | ||||
Version: | 3.4 | ||||||
Target Milestone: | 3.6 M1 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Maxime Daniel
2008-02-01 09:37:15 EST
If the user modifies the value, then it cannot expect it to be equal to the ResourcesPlugin.getEncoding() value. Closing as INVALID. Please reopen if you disagree. Sorry. Reopen. The value of this option should not be changed. The problem comes from the cached value set in the JavaModelManager.setOptions(HashTable) call. CORE_ENCODING option is properly skipped, but the value of the given table is not reset for this key. Created attachment 142181 [details]
Proposed fix + regression test
Released for 3.6M1. Regression test added in org.eclipse.jdt.core.tests.model.OptionTests#test13 Verified for 3.6M1 by code inspection and regression test verification. |