RFR: Fix deprecation warnings coming from JDK 16 [v2]

Sergei Ustimenko github.com+5709644+fdesu at openjdk.java.net
Tue Jul 6 08:29:00 UTC 2021


On Mon, 5 Jul 2021 06:51:18 GMT, Sergei Ustimenko <github.com+5709644+fdesu at openjdk.org> wrote:

>> This PR fixes compilation warnings that fail builds during compilation because of -Werror flag.
>> The issues with compilation appear on JDK 16. Warnings that were fixed:
>> - warning: [missing-explicit-ctor] class JTRegModuleHelper in exported package java.lang declares no explicit constructors, thereby exposing a default constructor to clients of module java.base
>> - SimpleReporter.java:*: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal 
>> 
>> After the changes build passes.
>
> Sergei Ustimenko has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyrights

Hi, could anyone please take a look to let me know if this change is all right. I hope it's fine :) 
In case it is, I would really appreciate if you can help me creating the JBS issue to link it to this PR.
Thanks!

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

PR: https://git.openjdk.java.net/jtreg/pull/15


More information about the jtreg-dev mailing list