Bug 75658 - [1.5] SourceElementParser do not compute correctly bounds of type parameter
Summary: [1.5] SourceElementParser do not compute correctly bounds of type parameter
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 12:46 EDT by David Audel CLA
Modified: 2004-11-04 04:50 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 David Audel CLA 2004-10-05 12:46:53 EDT
build I20040930

public class X {
  <T extends Z> void foo() {
  }
}

With this test case SourceElementParser build a TypeParameterElementInfo "T"
with no bounds.
Comment 1 Jerome Lanneluc CLA 2004-10-06 06:22:02 EDT
Fixed SourceElementParser#notifySourceElementRequestor(TypeParameter[]) to take
the compiler TypeParameter's type into account (this is the first bound).

Added CompilationUnitTests#testTypeParameter5()
Comment 2 David Audel CLA 2004-11-04 04:50:55 EST
Verified for 3.1M3 with build I20041102