Summary: | Compiler does not complain but "Quick Fix" ??? complains | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Silenio Quarti <Silenio_Quarti> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | eclipse |
Version: | 2.0 | ||
Target Milestone: | 2.1 M2 | ||
Hardware: | PC | ||
OS: | other | ||
Whiteboard: |
Description
Silenio Quarti
2002-05-22 17:47:16 EDT
*** This bug has been marked as a duplicate of 18175 *** This isn't a duplicate of 18175. Moving to JDT/Core for fixing Until field constants are part of the JavaModel, we have to live with this bug, since the compiler is only authorizing type mismatch if the constant is representable into the target type. Deferring We want to address this for 2.1, by persisting field initialization source inside the model, for further usage - in particular for temp problems while reconciling. 2.1-M2 candidate *** Bug 23382 has been marked as a duplicate of this bug. *** Changed Java model to persist the initialization source. Added flag on SourceTypeConverter to compute the AST from the initialization source if needed. Changed CompilationUnitProblemFinder to use this flag. Verified. |