-
Bug
-
Resolution: Fixed
-
P3
-
19
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289408 | 20 | Maurizio Cimadamore | P3 | Resolved | Fixed | b04 |
JDK-8291345 | 19.0.2 | Maurizio Cimadamore | P3 | Resolved | Fixed | b01 |
JDK-8291160 | 19.0.1 | Maurizio Cimadamore | P3 | Resolved | Fixed | b04 |
As per the spec of
https://download.java.net/java/early_access/jdk19/docs/api/java.base/java/lang/foreign/SegmentAllocator.html#allocateArray(java.lang.foreign.ValueLayout.OfByte,byte...)
"Implementation Requirements:
the default implementation for this method calls this.allocateArray(layout, array.length)."
Expectations :
invoking SegmentAllocator:allocateArray(*) shall delegate a call to allocateArray(MemoryLayout elementLayout, long count)
Actual :
The method allocateArray(MemoryLayout elementLayout,
long count) not invoked
https://download.java.net/java/early_access/jdk19/docs/api/java.base/java/lang/foreign/SegmentAllocator.html#allocateArray(java.lang.foreign.ValueLayout.OfByte,byte...)
"Implementation Requirements:
the default implementation for this method calls this.allocateArray(layout, array.length)."
Expectations :
invoking SegmentAllocator:allocateArray(*) shall delegate a call to allocateArray(MemoryLayout elementLayout, long count)
Actual :
The method allocateArray(MemoryLayout elementLayout,
long count) not invoked
- backported by
-
JDK-8289408 SegmentAllocator:allocateArray(*) default behavior mismatch to spec
-
- Resolved
-
-
JDK-8291160 SegmentAllocator:allocateArray(*) default behavior mismatch to spec
-
- Resolved
-
-
JDK-8291345 SegmentAllocator:allocateArray(*) default behavior mismatch to spec
-
- Resolved
-
- is cloned by
-
JDK-8289570 SegmentAllocator:allocateUtf8String(String str) default behavior mismatch to spec
-
- Resolved
-
- relates to
-
JDK-8282192 Implementation of Foreign Function & Memory API (Preview)
-
- Closed
-
(2 links to)