RFR: JDK-8289730 : Deprecated code sample in java.lang.ClassCastException

ScientificWare duke at openjdk.org
Wed Jul 6 09:03:31 UTC 2022


On Mon, 4 Jul 2022 06:57:12 GMT, ScientificWare <duke at openjdk.org> wrote:

> - Correct a deprecated code. 
> - Update Copyright.
> - More wide question : How are you dealing with deprecated codes in snippets ?
>   ```
>   @deprecated(since="9")
>   public Integer​(int value)
>   ```

@turbanoff Thanks.

-------------

PR: https://git.openjdk.org/jdk/pull/9359


More information about the core-libs-dev mailing list