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: 2021-08-18
  • 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.
JDK 9
9 b23Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
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
URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/fbfbefa43016 User: lana Date: 2014-07-16 16:40:02 +0000
16-07-2014

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.
11-07-2014

URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/fbfbefa43016 User: jjg Date: 2014-07-10 20:57:32 +0000
10-07-2014

langtools tests cover all these changes.
21-05-2014

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

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