Integrated: 8305746: InitializeEncoding should cache Charset object instead of charset name
Peter Hofer
phofer at openjdk.org
Thu Apr 20 16:14:54 UTC 2023
On Mon, 17 Apr 2023 17:47:04 GMT, Peter Hofer <phofer at openjdk.org> wrote:
> Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` and `String.getBytes(Charset)` instead of passing the charset name.
This pull request has now been integrated.
Changeset: 20b1d19d
Author: Peter Hofer <phofer at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/20b1d19d26a039b963590ca6f806f78a4a94c25f
Stats: 51 lines in 1 file changed: 18 ins; 14 del; 19 mod
8305746: InitializeEncoding should cache Charset object instead of charset name
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/13499
More information about the core-libs-dev
mailing list