Uploaded image for project: 'CCC Migration Project'
  1. CCC Migration Project
  2. CCC-8028543

Add SourceVersion.RELEASE_9

    XMLWordPrintable

    Details

    • Subcomponent:
    • Compatibility Risk:
      minimal
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

      Summary

      Add the constant RELEASE_9 to the SourceVersion enum.

      Problem

      New release, time for a new release constant in SourceVersion.

      Solution

      Add a new enum constant for release 9.

      Specification

      --- a/src/share/classes/javax/lang/model/SourceVersion.java     Thu Nov 14 13:47:38 2013 -0800
      +++ b/src/share/classes/javax/lang/model/SourceVersion.java     Mon Nov 18 11:55:54 2013 -0800
      @@ -138,7 +138,15 @@
            * Additions in this release include lambda expressions and default methods.
            * @since 1.8
            */
      -    RELEASE_8;
      +     RELEASE_8,
      +
      +    /**
      +     * The version recognized by the Java Platform, Standard Edition
      +     * 9.
      +     *
      +     * @since 1.9
      +     */
      +     RELEASE_9;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Reviewed By:
              Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: