On Tue, 12 Aug 2025 15:58:13 GMT, Chen Liang <li...@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