Bug 79145 - non-idempotent compiler behaviour
Summary: non-idempotent compiler behaviour
Status: RESOLVED DUPLICATE of bug 81719
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 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 08:35 EST by mike andrews CLA
Modified: 2005-01-14 09:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mike andrews CLA 2004-11-21 08:35:44 EST
compiler *sometimes* incorrectly reports a generics related error, which is
cleared by 'cleaning' project (project->clean menu choice).

my particular example is (which i can repeat in latest september distribution):

public interface ExampleType {
  ...
  public MyTypeA<MyTypeB>[] getXX(MyTypeC y, int index) throws IOException;
  ...
}

...

MyTypeC y = ...;
ExampleType object = ...;

// BOGUS COMPILER ERROR GENERATED HERE:
MyTypeA<MyTypeB>[] out = object.getXX(y,0);

// BOGUS COMPILER ERROR CLEARED BY 'CLEANING' PROJECT
Comment 1 Philipe Mulet CLA 2005-01-14 09:21:56 EST
Duplicate of bug 81719

*** This bug has been marked as a duplicate of 81719 ***