Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352547

Summary: [quick fix] 'Change compiler compliance' quick fix for 1.7 does not remove the markers
Product: [Eclipse Project] JDT Reporter: Ankur Sharma <ankur_sharma>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ankur Sharma CLA 2011-07-20 04:58:19 EDT
1. Have a Java project set to project specific compliance level at 1.5
2. Add an empty diamond construct
3. This will give an error "'<>' operator is not allowed for source level below 1.7"

4. Invoke the quick fix by pressing Ctrl + 1 and choose the second QF to fix the compliance level. 

outcome:
The compliance level is correctly fixed, however, the problems view continue to show the problem marker and so does the editor.
This however does not happen when the current level is 1.4 and QF ask you to fix for 1.5


In Step 4, if you invoke the QF some other way then it is not always reproducible.
Comment 1 Dani Megert CLA 2011-07-20 05:04:05 EDT

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