On Thu, 15 Jul 2021 09:24:17 GMT, Julia Boes <jb...@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 <jb...@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