RFR: 8289908: Skip bounds check for cases when String is constructed from entirely used byte[] [v4]

Сергей Цыпанов duke at openjdk.org
Wed Jul 13 17:42:23 UTC 2022


On Wed, 13 Jul 2022 15:44:04 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Сергей Цыпанов has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
>> 
>>  - 8289908: Rework constructor
>>  - Merge branch 'master' into 8289908
>>  - 8289908: Fixed tests
>>  - Merge branch 'master' into 8289908
>>  - 8289908: Make constructor private and use trailing Void instead of int
>>  - 8289908: Skip bounds check for cases when String is constructed from entirely used byte[]
>
> src/java.base/share/classes/java/lang/String.java line 528:
> 
>> 526:      * <p>
>> 527:      * Important: parameter order of this method is deliberately changed in order to
>> 528:      * disambiguate it against other similar methods ot this class.
> 
> typo?  "ot this".

Changed to "of this"

-------------

PR: https://git.openjdk.org/jdk/pull/9407



More information about the security-dev mailing list