On Mon, 1 Jun 2026 10:25:13 GMT, Quan Anh Mai <[email protected]> wrote:

> Hi,
> 
> Thanks a lot to @TobiHartmann for the analysis. The issue here is that a 
> strict final field can belong to an abstract class, which triggers an assert 
> when we call `toop->is_instptr()->exact_klass()`. What we really what is to 
> check if the allocation class is unrelated to the access, this PR fixes that.
> 
> Please take a look and leave your reviews, thanks a lot.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

That looks good to me.

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

Marked as reviewed by thartmann (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2497#pullrequestreview-4400520712

Reply via email to