RFR: 8254354: Add a withInvokeExactBehavior() VarHandle combinator [v14]

Jorn Vernee jvernee at openjdk.java.net
Tue Nov 10 18:01:10 UTC 2020


On Tue, 10 Nov 2020 16:27:48 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Re-order javadoc
>
> LGTM.
> 
> The test could be sprinkled with a number of assertions related to the invocation behaviour, a.k.a `hasInvokeExactBehavior`; either the newly specified default behaviour assertFalse(vh. hasInvokeExactBehavior()), or post switching to exact: assertTrue(vh. hasInvokeExactBehavior())

@ChrisHegarty Good suggestion! Added.

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

PR: https://git.openjdk.java.net/jdk/pull/843


More information about the core-libs-dev mailing list