On Wed, 20 Mar 2024 14:46:09 GMT, Paul Hohensee <p...@openjdk.org> wrote:

> Are we guaranteed that non-compact string char component bytes are stored in 
> little-endian order?

No, I don't think we are guaranteed any particular endianness, argh. The new 
patch follows what `StringUTF16` does: 
https://github.com/openjdk/jdk/blob/4e83f4cfc779e39cca0070b5729a508aeaa74654/src/java.base/share/classes/java/lang/StringUTF16.java#L1663-L1673

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

PR Comment: https://git.openjdk.org/jdk/pull/18394#issuecomment-2010124301

Reply via email to