Summary: | Editor in 1.4 mode fails to find 5.0 method with parameterized parameter | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Stubbs <david.stubbs> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 RC2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Seems a dup of 98434 Yes this is a dup *** This bug has been marked as a duplicate of 98434 *** Verified using N20050608-0010 + JDT/Core HEAD |
I have Java 5.0 code which defines a method: public void addLeveldata(String key, List<LevelData> data) { // ... } I then have a separate project (in the same workspace) with code compiled using default 1.4 compliance settings trying to reference this method: List levelData = new ArrayList(); // ... > store.addLevelData("banana", levelData); In the editor the line marked with > is incorrectly tagged as having an error: "The method fireDepthListeners(String, List) is undefined for the type Store" When saved the file is successfully compiled, and is displayed error free in the package explorer. The "error" is only displayed in the editor itself. It is not displayed in the Outline either. This occurs in both 3.1M7 and 3.1RC1.