On Mon, 26 May 2025 15:06:02 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> > Can we remove all meaningless `!Architecture.isLittleEndian()` calls and 
> > use the platform-specific endianness unsafe primitives instead? For 
> > compensation, we can add a check in each of fill2/fill3/fill4 that `assert 
> > value == Integer/Short/Long.reverseBytes(value)` if you think that is 
> > necessary.
> 
> Let's take a look at that under a separate PR.

https://bugs.openjdk.org/browse/JDK-8357857

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

PR Comment: https://git.openjdk.org/jdk/pull/25383#issuecomment-2912269520

Reply via email to