[jdk22] Integrated: 8321387: SegmentAllocator:allocateFrom(AddressLayout, MemorySegment) does not throw stated UnsupportedOperationException

2023-12-11 Thread Per Minborg
On Mon, 11 Dec 2023 16:26:52 GMT, Per Minborg wrote: > This PR is a backport of https://github.com/openjdk/jdk/pull/16993 This pull request has now been integrated. Changeset: e88a0220 Author:Per Minborg URL:

Integrated: 8321387: SegmentAllocator:allocateFrom(AddressLayout, MemorySegment) does not throw stated UnsupportedOperationException

2023-12-10 Thread Per Minborg
On Wed, 6 Dec 2023 13:52:37 GMT, Per Minborg wrote: > This PR proposes to change the exception type for exceptions thrown for > certain methods with a parameter of type `MemorySegment` when it is > `MemorySegment::isReadOnly`. Previously an `UnsupportedOperationException` > was specified but