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

Bug 348459

Summary: [1.7][quick fix] "Change compiler compliance" should change to Execution Environments
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: curtis.windatt.public, deepakazad, jarthana, markus.kell.r
Version: 3.7   
Target Milestone: 3.7.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Generalized QF for 1.7
none
Fix none

Description Markus Keller CLA 2011-06-06 14:58:00 EDT
The "Change compiler compliance" Quick Fix should set the right Execution Environment, not select any of the matching installed JREs.

See code in ReorgCorrectionsSubProcessor#getNeed50ComplianceProposals(..).
Comment 1 Markus Keller CLA 2011-06-06 15:01:52 EDT
Created attachment 197445 [details]
Generalized QF for 1.7
Comment 2 Markus Keller CLA 2011-06-06 15:03:03 EDT
Released the attached patch to 1.7. See
ReorgCorrectionsSubProcessor#getNeedHigherComplianceProposals(..) now.
Comment 3 Deepak Azad CLA 2011-06-06 22:21:58 EDT
*** Bug 348435 has been marked as a duplicate of this bug. ***
Comment 4 Deepak Azad CLA 2011-06-07 00:13:19 EDT
I enabled the quick fix for binary literals and underscore in literals. Also filed bug 348492 and bug 348493 for the 2 remaining features for which this quick fix should be available.

PS: Markus, you forgot to add those 3 lines to the headers of modified files :)
Comment 5 Markus Keller CLA 2011-07-04 11:36:31 EDT
*** Bug 350323 has been marked as a duplicate of this bug. ***
Comment 6 Markus Keller CLA 2011-07-13 15:39:27 EDT
Created attachment 199616 [details]
Fix
Comment 7 Markus Keller CLA 2011-07-13 15:40:24 EDT
Fixed in BETA_JAVA7.
Comment 8 Jay Arthanareeswaran CLA 2011-07-20 11:32:22 EDT
Verified.