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

Bug 350697

Summary: [1.7] Bad usages of JavaModelUtil#set50ComplianceOptions(..)
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: P3 CC: jarthana, markus.kell.r
Version: 3.7   
Target Milestone: 3.7.1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 349798    
Attachments:
Description Flags
Fix none

Description Markus Keller CLA 2011-06-29 08:27:27 EDT
Created attachment 198823 [details]
Fix

BETA_JAVA7

All remaining usages of JavaModelUtil#set50ComplianceOptions(..) actually meant to set the latest compliance options.

For a more sustainable, I replaced this with JavaModelUtil.setComplianceOptions(map, JavaModelUtil.VERSION_LATEST).
Comment 1 Markus Keller CLA 2011-06-29 08:28:26 EDT
Fixed in BETA_JAVA7.
Comment 2 Jay Arthanareeswaran CLA 2011-07-20 02:22:47 EDT
Verified