Bug 98322 - [compiler] ParameterizedTypeBinding should not have AccGenericSignature set when no type arguments
Summary: [compiler] ParameterizedTypeBinding should not have AccGenericSignature set w...
Status: VERIFIED FIXED
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 RC3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 13:02 EDT by Olivier Thomann CLA
Modified: 2005-06-16 14:16 EDT (History)
1 user (show)

See Also:


Attachments
Apply on HEAD (1.01 KB, patch)
2005-06-03 13:03 EDT, Olivier Thomann CLA
no flags Details | Diff

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