Integrated: 7902991: fix deprecation warnings generated when compiling with JDK 16.
Sergei Ustimenko
github.com+5709644+fdesu at openjdk.java.net
Tue Jul 13 18:42:19 UTC 2021
On Fri, 2 Jul 2021 15:36:25 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.
This pull request has now been integrated.
Changeset: ca884e32
Author: Sergei Ustimenko <fdesu at protonmail.com>
Committer: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.java.net/jtreg/commit/ca884e321728f1fd02365a592e294fd8096a6ae4
Stats: 19 lines in 2 files changed: 5 ins; 0 del; 14 mod
7902991: fix deprecation warnings generated when compiling with JDK 16.
-------------
PR: https://git.openjdk.java.net/jtreg/pull/15
More information about the jtreg-dev
mailing list