JDK-8180864 : Add SourceVersion.RELEASE_10
  • Type: CSR
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 10
  • Submitted: 2017-05-23
  • Updated: 2017-12-12
  • Resolved: 2017-05-23
Related Reports
CSR :  
Relates :  
Description
Summary
-------

Add the constant `RELEASE_10` to the `SourceVersion` `enum`.

Problem
-------

With a new release, a matching new  `SourceVersion` constant is needed.

Solution
--------
Add the new constant.

Specification
-------------

    -     RELEASE_9;
    +     RELEASE_9,
    +
    +    /**
    +     * The version recognized by the Java Platform, Standard Edition
    +     * 10.
    +     *
    +     * @since 10
    +     */
    +     RELEASE_10;