Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352547 - [quick fix] 'Change compiler compliance' quick fix for 1.7 does not remove the markers
Summary: [quick fix] 'Change compiler compliance' quick fix for 1.7 does not remove th...
Status: CLOSED DUPLICATE of bug 352402
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 04:58 EDT by Ankur Sharma CLA
Modified: 2011-07-20 05:04 EDT (History)
1 user (show)

See Also:


Attachments

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