JDK-8173606 : Deprecate constructors of 7-era visitors
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-01-28
  • Updated: 2019-01-08
  • Resolved: 2018-07-11
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 12
12 b03Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
With the source/target 7 options being deprecated (JDK-8028563), the constructors of the javax.lang.model.util visitors for the 7 family should be deprecated as well.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2018-July/012170.html
08-07-2018

With the faster release cadence, 6 months vs 2 years, 7 will remain a fully supported and non-deprecated option for javac's -source/-target/--release options in JDK 10 and thus the constructors for the 7-era visitors will not be deprecated in JDK 10.
05-12-2017