Integrated: 8265989: System property for the native character encoding name
Naoto Sato
naoto at openjdk.java.net
Tue May 4 17:33:54 UTC 2021
On Wed, 28 Apr 2021 22:24:31 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> After some internal discussion, we thought it was good to expose the native environment's default character encoding, which Charset.defaultCharset() is currently based on. This way applications will have a better migration path after the [JEP 400](https://openjdk.java.net/jeps/400) is implemented, in which Charset.defaultCharset() will return UTF-8, but the value of this new system property will remain intact. A [CSR](https://bugs.openjdk.java.net/browse/JDK-8266075) has been filed with more detailed information.
This pull request has now been integrated.
Changeset: 4e96b310
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4e96b310425de541675b28493fdbe195780623c3
Stats: 32 lines in 4 files changed: 23 ins; 3 del; 6 mod
8265989: System property for the native character encoding name
Reviewed-by: iris, joehw, rriggs
-------------
PR: https://git.openjdk.java.net/jdk/pull/3777
More information about the core-libs-dev
mailing list