Integrated: 8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API
Julia Boes
jboes at openjdk.java.net
Thu Jul 22 09:48:52 UTC 2021
On Thu, 15 Jul 2021 09:24:17 GMT, Julia Boes <jboes at openjdk.org> wrote:
> This is a cleanup fix that replaces the deprecated method `Class::newInstance()` with `cls.getDeclaredConstructor().newInstance()` when loading the provider.
This pull request has now been integrated.
Changeset: 50bb7313
Author: Julia Boes <jboes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/50bb7313a75e6e573549637763881ae3368b3ca0
Stats: 172 lines in 2 files changed: 166 ins; 0 del; 6 mod
8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API
Reviewed-by: chegar
-------------
PR: https://git.openjdk.java.net/jdk/pull/4789
More information about the net-dev
mailing list