RFR: 8309665: Simplify Arrays.copyOf/-Range methods [v2]
Claes Redestad
redestad at openjdk.org
Fri Jun 9 10:03:08 UTC 2023
On Thu, 8 Jun 2023 16:15:21 GMT, Brett Okken <duke at openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove pointless comments
>
> src/java.base/share/classes/java/util/Arrays.java line 3845:
>
>> 3843: */
>> 3844: public static byte[] copyOfRange(byte[] original, int from, int to) {
>> 3845: // Tickle the JIT to fold special cases optimally
>
> this comment has been inconsistently left vs removed in the various methods (even though the other changes appear the same). was this intentional?
Fixed. Removed all for consistency.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14380#discussion_r1224108002
More information about the core-libs-dev
mailing list