JDK 19 | JDK 20 |
---|---|
19 b28Fixed | 20Fixed |
Relates :
|
As per spec : https://download.java.net/java/early_access/jdk19/docs/api/java.base/java/lang/foreign/SegmentAllocator.html#allocate(long) Throws: IllegalArgumentException - if bytesSize < 0 Observed that IAEx is thrown only for SegmentAllocator created with implicitAllocator() not for others. Attached the sample to demonstrate the issue.
|