United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8011044 : Remove support for 1.5 and earlier source and target options

Details
Type:
Enhancement
Submit Date:
2013-03-29
Status:
Closed
Updated Date:
2017-05-17
Project Name:
JDK
Resolved Date:
2014-07-10
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
9
Fixed Versions:

Related Reports
Blocks:
CSR:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks
JDK-8031651:
JDK-8031670:
JDK-8031745:
JDK-8032057:
JDK-8036842:
JDK-8047954:
JDK-8048613:
JDK-8048620:
JDK-8050051:
JDK-8173720:

Description
Support for javac source and target options for the 1.5 platform and earlier should be removed.
                                    

Comments
The javac command no longer support -source or -target options below 6/1.6. However, older class files are still readable by javac. Source code for older release can be ported to the newer source level. To generate class files usable by older release, a javac from a previous release train can be used.
                                     
2014-07-11
langtools tests cover all these changes.
                                     
2014-05-21
ccc 8011044 - Approved.
2014-01-09 11:48:21    	    	state	    approved
                                     
2014-04-22
See:
JEP 182: Policy for Retiring javac -source and -target Options
http://openjdk.java.net/jeps/182
                                     
2013-04-09



Hardware and Software, Engineered to Work Together