Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8208108

Deprecated Features and Options

    Details

    • Introduced In Version:
      11

      Description

      This section describes the deprecated APIs, features, and options that have been identified as deprecated in this release and are subject to removal from future versions of Java SE and the JDK. They should be used with that possibility in mind. The APIs described here are those that are provided with the Oracle JDK. It includes a complete implementation of the Java SE 11 Platform and additional Java APIs to support developing, debugging, and monitoring Java applications.

      Other sources of information about the APIs, features, and options deprecated in Java SE 11 and JDK 11 include:

      - [Deprecated API page (API specification)](http://cr.openjdk.java.net/~iris/se/11/latestSpec/api/deprecated-list.html) - Identifies all deprecated APIs including those deprecated in Java SE 11.
      - [Java SE 11 (18.9) ( JSR 384) specification](http://cr.openjdk.java.net/~iris/se/11/latestSpec/) - Documents changes to the specification made between Java SE 10 and Java SE 11 that include the identification of deprecated APIs and features not described here.

      You should be aware of the contents in those documents as well as the items described in this release notes page.

      The descriptions of deprecated APIs might include references to the deprecation warnings of `forRemoval=true` and `forRemoval=false`. The `forRemoval=true` text indicates that a deprecated API might be removed from the next major release. The `forRemoval=false` text indicates that a deprecated API is not expected to be removed from the next major release but might be removed in some later release.

      **Note:** JEP 277: Enhanced Deprecation provides a detailed description of the deprecation policy. You should be aware of the updated policy described in this document.

      The descriptions below also identify potential compatibility issues that you might encounter when migrating to JDK 11. See the JDK 11 Migration Guide for descriptions of specific compatibility issues. See [CSRs Approved for JDK 11](https://bugs.openjdk.java.net/issues/?jql=project%20%3D%20JDK%20AND%20issuetype%20%3D%20CSR%20AND%20status%20%3D%20Closed%20AND%20resolution%20%3D%20Approved%20AND%20fixVersion%20%3D%20%2211%22) for the list of CSRs closed in JDK 11.

        Attachments

          Activity

            People

            • Assignee:
              cwayne Clifford Wayne
              Reporter:
              cwayne Clifford Wayne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: