Bug 98262

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: CoreAssignee: 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:

Description David Stubbs CLA 2005-06-03 08:22:45 EDT
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.
Comment 1 Philipe Mulet CLA 2005-06-08 03:23:54 EDT
Seems a dup of 98434 
Comment 2 Jerome Lanneluc CLA 2005-06-08 04:39:53 EDT
Yes this is a dup

*** This bug has been marked as a duplicate of 98434 ***
Comment 3 Olivier Thomann CLA 2005-06-08 11:53:45 EDT
Verified using N20050608-0010 + JDT/Core HEAD