You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
Java lang's general handling of byte order is broken unfortunately. Only
native order is really handled. This should be fixed.
On 17 Feb 2014 00:50, "Roman Leventov" [email protected] wrote:
Because compare-and-swap operations end up with native ops.
Breaking test:
@Test
public void testCAS() {
Bytes bytes = new ByteBufferBytes(ByteBuffer.allocate(100));
bytes.compareAndSwapLong(0, 0L, 1L);
assertEquals(1L, bytes.readLong(0));
}
Reply to this email directly or view it on GitHubhttps://github.com//issues/24
.
Because compare-and-swap operations end up with native ops.
Breaking test:
The text was updated successfully, but these errors were encountered: