On Wed, 31 Aug 2022 05:11:33 GMT, David Holmes <dhol...@openjdk.org> wrote:
>> I think you should add an assert that the `protection_domain.resolve()` >> never returns null, with a comment explaining why. > > I agree. In general if code is using WeakHandle's then I would expect to see > null checks. I added the comment. ------------- PR: https://git.openjdk.org/jdk/pull/10043