Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348459 - [1.7][quick fix] "Change compiler compliance" should change to Execution Environments
Summary: [1.7][quick fix] "Change compiler compliance" should change to Execution Envi...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 3.7.1   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 348435 350323 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-06 14:58 EDT by Markus Keller CLA
Modified: 2011-08-02 05:45 EDT (History)
4 users (show)

See Also:


Attachments
Generalized QF for 1.7 (17.62 KB, patch)
2011-06-06 15:01 EDT, Markus Keller CLA
no flags Details | Diff
Fix (10.59 KB, patch)
2011-07-13 15:39 EDT, Markus Keller CLA
no flags Details | Diff

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