Bug 392852 - [jsr199] EclipseCompiler does not support SourceVersion.RELEASE_7
Summary: [jsr199] EclipseCompiler does not support SourceVersion.RELEASE_7
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 13:04 EDT by Stephan Herrmann CLA
Modified: 2015-09-14 01:25 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 Stephan Herrmann CLA 2012-10-25 13:04:14 EDT
Bundle org.eclipse.jdt.compiler.tool has a BREE of JavaSE-1.6 where SourceVersion ends with RELEASE_6 and so the compiler does not and cannot announce RELEASE_7.

However, the compiler actually handles 1.7 code.

I don't know if this discrepancy is by intention or not.

Raising the BREE of the bundle seems undesirable, so we'd need some tricks (like reflection?) to properly announce all supported source levels.

It seems nobody is using this interface for compiling 1.7 code (yet) :)
Comment 1 Jay Arthanareeswaran CLA 2015-09-14 01:25:37 EDT
The bundle is already at JavaSE-1.7. Does it change things for this bug?