Bug 98322

Summary: [compiler] ParameterizedTypeBinding should not have AccGenericSignature set when no type arguments
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.1   
Target Milestone: 3.1 RC3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Apply on HEAD none

Description Olivier Thomann CLA 2005-06-03 13:02:59 EDT
Using latest, the following code contains a generic signature for the constructor.

interface P<V> {
    interface A {}
}
public class X implements P.A {
    X(P.A a) {}
}

This is not required.
Comment 1 Olivier Thomann CLA 2005-06-03 13:03:41 EDT
Created attachment 22337 [details]
Apply on HEAD

Proposed fix.
Comment 2 Philipe Mulet CLA 2005-06-15 19:12:38 EDT
+1 for RC3

Dani - pls cast your vote. Without a fix for it, we generate bogus signatures
which can break incremental compile or tooling rendering signatures.
Comment 3 Philipe Mulet CLA 2005-06-15 19:13:35 EDT
Added GenericTypeSignatureTest#test018
Comment 4 Dani Megert CLA 2005-06-16 01:42:16 EDT
+1 for 31 RC3.
Comment 5 Philipe Mulet CLA 2005-06-16 05:56:40 EDT
Fixed
Comment 6 Olivier Thomann CLA 2005-06-16 14:16:45 EDT
Verified using N20050616-0010 + JDT/Core HEAD