Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350697 - [1.7] Bad usages of JavaModelUtil#set50ComplianceOptions(..)
Summary: [1.7] Bad usages of JavaModelUtil#set50ComplianceOptions(..)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7.1   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349798
  Show dependency tree
 
Reported: 2011-06-29 08:27 EDT by Markus Keller CLA
Modified: 2011-08-02 05:45 EDT (History)
2 users (show)

See Also:


Attachments
Fix (11.91 KB, patch)
2011-06-29 08:27 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-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