Summary: | Compilation warning for IndexManager | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Eugene Kuleshov <ekuleshov> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Eugene Kuleshov
2004-07-25 00:02:43 EDT
I'm not seeing this warning. Which advanced feature did you enable ? Which build are you using ? Currently I don't have this module around to verify, but it should be Java / Compiller/ Advanced / Local variable declaration hides another field. In this particular case it is even more confusing because there the same name is used in parent class as well as in inner class. I have this warning turned on, but I'm not seeing any warning in IndexManager. What build number are you using ? That is strange. I just checked out this module from the HEAD again and tot the same error: "The field containerPath is defined in an inherited type and an enclosing scope". I noticed that I had JRE 1.3 compliance level in global compiller settings. After changing compliance to JRE 1.4 and rebuild that error turns into "Unqualified access to the field IndexRequest.containerPath". I see it now. Eclipse plugin are required to be compiled with 1.4 compliance level. That's why I didn't see it in the first place. Changed parameter name to 'container'. Verified in I200409240100. |