RFR: 8366765: [REDO] Rename JavaLangAccess::*NoRepl methods [v2]

Andrey Turbanov aturbanov at openjdk.org
Thu Sep 4 10:05:43 UTC 2025


On Thu, 4 Sep 2025 09:41:43 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

>> [JDK-8356439] (#26413) conflicted with [JDK-8362893] (#26493), caused `tier1` failures, and hence, backed out in [JDK-8366693] (#27050). This PR reintroduces JDK-8356439 with sufficient fixes.
>> 
>> [JDK-8356439]: https://bugs.openjdk.org/browse/JDK-8356439
>> [JDK-8362893]: https://bugs.openjdk.org/browse/JDK-8362893
>> [JDK-8366693]: https://bugs.openjdk.org/browse/JDK-8366693
>
> Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Improve docs

src/java.base/share/classes/java/lang/String.java line 961:

> 959:      * @throws CharacterCodingException For malformed input or unmappable characters
> 960:      */
> 961:     static byte[] getBytesUTF8OrThrow(String s) throws CharacterCodingException {

`encodeUTF8OrThrow(s.coder(), s.value());` specified to throw `UnmappableCharacterException`. May we should to it here too?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27084#discussion_r2321506473


More information about the security-dev mailing list