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

ScientificWare duke at openjdk.org
Wed Jul 6 08:23:30 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)
>   ```

This pull request has now been integrated.

Changeset: 4ad18cf0
Author:    ScientificWare <info at scientificware.com>
Committer: Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4ad18cf088e12f3582b8f6117a44ae4607f69839
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8289730: Deprecated code sample in java.lang.ClassCastException

Reviewed-by: darcy

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

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


More information about the core-libs-dev mailing list