United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6827026 Change javac source and target default to 7
JDK-6827026 : Change javac source and target default to 7

Details
Type:
Bug
Submit Date:
2009-04-07
Status:
Closed
Updated Date:
2014-03-03
Project Name:
JDK
Resolved Date:
2012-01-14
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
As new language features are being developed for JDK 7, the time comes to change the default source and target levels to 7 from their current values of 6.

                                    

Comments
EVALUATION

A fine idea.
                                     
2009-04-07
EVALUATION

This fix also requires updating the jdk build to be independent of the defaults baked into javac.  This means passing around and using values for -source as well as -target within the JDK build.
                                     
2009-05-20



Hardware and Software, Engineered to Work Together