JDK-8011044 : Remove support for 1.5 and earlier source and target options
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-03-29
  • Updated: 2017-05-17
  • Resolved: 2014-07-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 9
9 b23Fixed
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