RFR: 8355632: WhiteBox.waitForReferenceProcessing() fails assert for return type [v2]

Kim Barrett kbarrett at openjdk.org
Tue Apr 29 11:50:45 UTC 2025


On Mon, 28 Apr 2025 19:21:05 GMT, Brent Christian <bchristi at openjdk.org> wrote:

>> The newly-added `WhiteBox.waitForReferenceProcessing()` (see [8305186](https://bugs.openjdk.org/browse/JDK-8305186)) always fails with assertions enabled.
>> I've updated the assertion, and also added the test I used locally to test the new method (just not with assertions enabled, apparently.)
>
> Brent Christian has updated the pull request incrementally with four additional commits since the last revision:
> 
>  - move test
>  - rename test class
>  - enable assertions on test itself
>  - use boolean.class

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24892#pullrequestreview-2803110349


More information about the core-libs-dev mailing list