Integrated: 8305746: InitializeEncoding should cache Charset object instead of charset name

2023-04-20 Thread Peter Hofer
On Mon, 17 Apr 2023 17:47:04 GMT, Peter Hofer 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

Re: RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name [v3]

2023-04-19 Thread Peter Hofer
On Wed, 19 Apr 2023 07:08:53 GMT, Peter Hofer wrote: >> Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` >> and `String.getBytes(Charset)` instead of passing the charset name. > > Peter Hofer has updated the pull request with a new target base due

Re: RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name [v3]

2023-04-19 Thread Peter Hofer
> Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` and > `String.getBytes(Charset)` instead of passing the charset name. Peter Hofer has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated c

Re: RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name [v2]

2023-04-18 Thread Peter Hofer
On Tue, 18 Apr 2023 21:04:05 GMT, Naoto Sato wrote: >> Peter Hofer has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains one commit: >> >> 8305746: InitializeEncoding should cache Charset object instead of

Re: RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name [v2]

2023-04-18 Thread Peter Hofer
> Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` and > `String.getBytes(Charset)` instead of passing the charset name. Peter Hofer has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit: 8

Re: RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name

2023-04-18 Thread Peter Hofer
On Mon, 17 Apr 2023 17:47:04 GMT, Peter Hofer wrote: > Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` and > `String.getBytes(Charset)` instead of passing the charset name. @naotoj please find here my changes to `InitializeEncoding`. - PR Comment:

RFR: 8305746: InitializeEncoding should cache Charset object instead of charset name

2023-04-18 Thread Peter Hofer
Store `Charset` object in `jnuEncoding` and use `String(byte[], Charset)` and `String.getBytes(Charset)` instead of passing the charset name. - Commit messages: - 8305746: InitializeEncoding should cache Charset object instead of charset name Changes: https://git.openjdk.org/jdk/p