On Tue, 6 Jun 2023 17:24:34 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

>> Fix the bug mentioned in the JBS issue.
>> 
>> The implementation is updated to slice the capture state segment using the 
>> capture state layout. This checks both that the segment is big enough, and 
>> that it is properly aligned.
>> 
>> Additionally, I added a check for `MS::NULL` since this is also an illegal 
>> value we can catch early.
>> 
>> Test cases are added for all three invalid values.
>> 
>> Testing: `jdk_foreign` test suite.
>
> Jorn Vernee has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   rename MH field

Marked as reviewed by mcimadamore (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/14339#pullrequestreview-1467264730

Reply via email to