RFR: 8356439: Rename JavaLangAccess::*NoRepl methods [v3]

Volkan Yazici vyazici at openjdk.org
Tue Aug 12 19:29:29 UTC 2025


On Tue, 12 Aug 2025 15:58:13 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Volkan Yazici has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Simplify added null checks
>>  - Avoid code duplication by sprinkling some generics magic
>
> src/java.base/share/classes/java/lang/String.java line 851:
> 
>> 849:     }
>> 850: 
>> 851:     private static <E extends Exception> byte[] encodeWithEncoder(Charset cs, byte coder, byte[] val) {
> 
> Is the type parameter here redundant?

Yes, it is! Removed this one and other 3 in c5ddfe62eb8.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26413#discussion_r2270957899


More information about the security-dev mailing list