Skip to content

Commit 0b87eb4

Browse files
authoredJul 16, 2024
Merge pull request ibmruntimes#815 from keithc-ca/aix_double
Improve patch to ValueLayouts for AIX
2 parents 30f7f4e + 9a4ca8d commit 0b87eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.base/share/classes/jdk/internal/foreign/layout/ValueLayouts.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ OfDoubleImpl dup(ByteOrder order, long byteAlignment, Optional<String> name) {
307307
}
308308

309309
public static OfDouble of(ByteOrder order) {
310-
return new OfDoubleImpl(order, OperatingSystem.isAix() ? 4 : ADDRESS_SIZE_BYTES, Optional.empty());
310+
return new OfDoubleImpl(order, OperatingSystem.isAix() ? 4 : Double.BYTES, Optional.empty());
311311
}
312312

313313
@Override

0 commit comments

Comments
 (0)
Please sign in to comment.