8330272: Wrong javadoc for ValueLayout.JAVA_LONG/JAVA_DOUBLE on x86 32bit
Reviewed-by: mcimadamore, jvernee
This commit is contained in:
parent
3ccbc6d4d0
commit
e4021adb28
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -446,8 +446,7 @@ public sealed interface ValueLayout extends MemoryLayout
|
||||
|
||||
/**
|
||||
* A value layout constant whose size is the same as that of a Java {@code long},
|
||||
* (platform-dependent) byte alignment set to {@code ADDRESS.byteSize()},
|
||||
* and byte order set to {@link ByteOrder#nativeOrder()}.
|
||||
* byte alignment set to 8, and byte order set to {@link ByteOrder#nativeOrder()}.
|
||||
*/
|
||||
OfLong JAVA_LONG = ValueLayouts.OfLongImpl.of(ByteOrder.nativeOrder());
|
||||
|
||||
@ -459,8 +458,7 @@ public sealed interface ValueLayout extends MemoryLayout
|
||||
|
||||
/**
|
||||
* A value layout constant whose size is the same as that of a Java {@code double},
|
||||
* (platform-dependent) byte alignment set to {@code ADDRESS.byteSize()},
|
||||
* and byte order set to {@link ByteOrder#nativeOrder()}.
|
||||
* byte alignment set to 8, and byte order set to {@link ByteOrder#nativeOrder()}.
|
||||
*/
|
||||
OfDouble JAVA_DOUBLE = ValueLayouts.OfDoubleImpl.of(ByteOrder.nativeOrder());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user