JDK-8199068 : SourceVersion should have a method that accepts javac -source strings
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2018-03-05
  • Updated: 2022-04-18
  • Resolved: 2022-04-18
Related Reports
Relates :  
Description
javax.lang.model.SourceVersion should have a static method that returns the SourceVersion for a version string as accepted by javac -source option.
Comments
The functionality in question was provided in JDK-8275888 using Runtime.Version objects as a level of indirection.
18-04-2022