On Tue, 5 Jul 2022 17:27:03 GMT, Joe Darcy <da...@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)
>>   ```
>
> Looks fine.
> 
> There is as of yet no systemic way of dealing with compiler warnings with 
> formal or informal snippet samples, but JEP 413: "Code Snippets in Java API 
> Documentation" is meant to enable that.

@jddarcy, please could you sponsor this PR ?

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

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

Reply via email to