JDK-8173605 : Remove support for source and target 1.7 option in javac
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-01-28
  • Updated: 2024-10-27
  • Resolved: 2022-09-01
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 20
20 b14Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8302602 :  
Description
As a follow-up to JDK-8028563 from JDK 10 which removed support for the 1.6/6 source and target option, in JDK 11 support for the 1.7/7 source and target option should be removed. As part of this work, the 1.8/8 option should be deprecated.

This is a continuation of the policy described in JEP 182: Policy for Retiring javac -source and -target Options (JDK-8046172).
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/10074 Date: 2022-08-30 00:04:03 +0000
27-10-2024

Changeset: 2d18dda3 Author: Joe Darcy <darcy@openjdk.org> Date: 2022-09-01 16:43:50 +0000 URL: https://git.openjdk.org/jdk/commit/2d18dda3f2074a4f8b9a0c62ece9ac6d5284e93b
01-09-2022

As -source/-target/--release 6 is now planned to be removed in 12, removing support for 7 should occur in a later release. The eventual release may be adjusted again in the future.
16-05-2018

As JDK-8028563 was re-targeted to JDK 11, changed the expected fix version of this issue to 12.
02-01-2018