Re: RFR: 8260265: UTF-8 by Default [v4]

2021-07-15 Thread Naoto Sato
> This is an implementation for the `JEP 400: UTF-8 by Default`. The gist of > the changes is `Charset.defaultCharset()` returning `UTF-8` and > `file.encoding` system property being added in the spec, but another notable > modification is in `java.io.PrintStream` where it continues to use the

RFR: 8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API

2021-07-15 Thread Julia Boes
This is a cleanup fix that replaces the deprecated method `Class::newInstance()` with `cls.getDeclaredConstructor().newInstance()` when loading the provider. - Commit messages: - initial commit Changes: https://git.openjdk.java.net/jdk/pull/4789/files Webrev: https://webrevs.open