Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Regarding the APIs, ... it is not specified they will be removed anytime soon.</p> <p><a href="http://java.sun.com/j2se/1.5.0/compatibility.html" rel="nofollow noreferrer">Incompatibilities in J2SE 5.0 (since 1.4.2)</a>:</p> <p>Source Compatibility</p> <blockquote> <p>[...]<br> In general, the policy is as follows, except for any incompatibilities listed further below: </p> <p>Deprecated APIs are interfaces that are supported only for backwards compatibility. The javac compiler generates a warning message whenever one of these is used, unless the -nowarn command-line option is used. It is recommended that programs be modified to eliminate the use of deprecated APIs, <strong>though there are no current plans to remove such APIs</strong> – with the exception of JVMDI and JVMPI – entirely from the system.</p> </blockquote> <p>Even in its <a href="http://java.sun.com/javase/6/docs/technotes/guides/javadoc/deprecation/deprecation.html" rel="nofollow noreferrer">How and When To Deprecate APIs</a>, nothing is being said about a policy regarding actually <em>removing</em> the deprected APIs...</p> <hr> <p>Update 10 years later, the new <a href="https://docs.oracle.com/javase/9/core/enhanced-deprecation1.htm#JSCOR-GUID-23B13A9E-2727-42DC-B03A-E374B3C4CE96" rel="nofollow noreferrer">JDK9+ <strong>Enhanced Deprecation</strong></a> clarifies the depreciation policy.<br> See <a href="https://stackoverflow.com/users/7641/jens-bannmann">Jens Bannmann</a>'s <a href="https://stackoverflow.com/a/50445603/6309">answer</a> for more details.<br> This is also detailed in this blog post by <a href="https://twitter.com/vojtechruzicka" rel="nofollow noreferrer">Vojtěch Růžička</a>, following <a href="https://blog.jooq.org/2015/12/22/jep-277-enhanced-deprecation-is-nice-but-heres-a-much-better-alternative/" rel="nofollow noreferrer">criticisms on JEP 277</a>.</p> <blockquote> <p>The convention for JDK is that once a JDK API is marked as <code>forRemoval=true</code> in a certain Java version, <strong>it will be removed in the directly following major Java release</strong>.<br> That means - when something is marked as <code>forRemoval=true</code> in Java 9, it is supposed to be completely removed in Java 10.<br> <strong>Keep that in mind when using API marked for removal.</strong></p> <p>Note that this convention applies only to JDK itself and third-party libraries are free to choose any convention they see fit.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload