Bug 68006

Summary: [1.5] Invalid modifier after parse
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2004-06-21 11:08:04 EDT
Cheetah

The following code issues an error against modifier for argument 'm'.

import java.util.Map;
public class X {
    void foo(Map<? super Object, ? extends String> m){
    }
}
Comment 1 Philipe Mulet CLA 2004-06-21 11:09:30 EDT
Parser incorrectly sets a 'public private protected' modifier onto 
argument 'm'.
Comment 2 Philipe Mulet CLA 2004-06-21 11:10:31 EDT
Problem disappears if removing any of the wildcards in the signature of 
argument type.
Comment 3 David Audel CLA 2004-06-21 13:28:52 EDT
super location was not remove from the int stack inside 
Parser#consumeWildcardBoundsSuper()

Fixed and test added