Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.2, 1.1.3, 2.0.0
-
None
-
None
Description
Please see the code snip below:
MemorySegment.java
if (offHeapAddress >= Long.MAX_VALUE - Integer.MAX_VALUE) { throw new IllegalArgumentException("Segment initialized with too large address: " + address // here address has not been initialized yet; should really be offHeapAddress + " ; Max allowed address is " + (Long.MAX_VALUE - Integer.MAX_VALUE - 1)); }
Attachments
Issue Links
- links to