Bug 98262 - Editor in 1.4 mode fails to find 5.0 method with parameterized parameter
Summary: Editor in 1.4 mode fails to find 5.0 method with parameterized parameter
Status: VERIFIED DUPLICATE of bug 98434
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 08:22 EDT by David Stubbs CLA
Modified: 2005-06-08 11:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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