JDK-8173720 : Release Note: Remove support for 1.5 and earlier source and target options
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2017-02-01
  • Updated: 2017-09-22
  • Resolved: 2017-03-27
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
9Resolved
Description
The `javac` command no longer supports `-source` or` -target` values for releases before 6/1.6. However, older class files are still readable by `javac`. Source code for older release can be ported to a newer source level. To generate class files usable by releases older than JDK 6, a `javac` from a JDK 6, 7, or 8 release family can be used.

[JEP 182](http://openjdk.java.net/jeps/182) documents the policy for retiring old `-source` and `-target` options.