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 Availability Release.

To download the current JDK release, click here.
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 :  
Support for javac source and target options for the 1.5 platform and earlier should be removed.
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.

langtools tests cover all these changes.

ccc 8011044 - Approved. 2014-01-09 11:48:21 state approved

See: JEP 182: Policy for Retiring javac -source and -target Options http://openjdk.java.net/jeps/182