On Mon, 30 Mar 2026 14:26:18 GMT, Marc Chevalier <[email protected]> wrote:

>> Benoît Maillard has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Add comment in test
>
> test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestMakeFromOopReturnValue.java
>  line 70:
> 
>> 68: public class TestMakeFromOopReturnValue {
>> 69:     public static void test() {
>> 70:         new B();
> 
> Is that to force loading `B`, so that `A.virtual` doesn't look like it has a 
> unique implementer?

Yes, it's to avoid having an exact type for `a`. I have added a comment.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2256#discussion_r3022165435

Reply via email to