-
Type:
Bug
-
Resolution: Withdrawn
-
Priority:
P3
-
None
-
Affects Version/s: 22, 23, 24
-
Component/s: core-libs
-
None
The Linker will not handle certain layouts that it should:
Reproduce:
@Test
public void alignedByInitialPadding() {
Linker linker = Linker.nativeLinker();
var struct = MemoryLayout.structLayout(
MemoryLayout.paddingLayout(Integer.BYTES),
JAVA_INT);
var fd = FunctionDescriptor.of(struct, struct, struct);
linker.downcallHandle(fd);
}
Reproduce:
@Test
public void alignedByInitialPadding() {
Linker linker = Linker.nativeLinker();
var struct = MemoryLayout.structLayout(
MemoryLayout.paddingLayout(Integer.BYTES),
JAVA_INT);
var fd = FunctionDescriptor.of(struct, struct, struct);
linker.downcallHandle(fd);
}