On Fri, 5 Jun 2026 20:34:19 GMT, Chen Liang <[email protected]> wrote:

>> [JDK-8253744](https://bugs.openjdk.org/browse/JDK-8253744) modified this 
>> test to deal with the injected java.lang.IndentityObject class. That is no 
>> longer done and was rolled back, but changes in this file were missed. Thus 
>> this test now has extra logic to deal with two possible interfaces being 
>> returned when it is not necessary.
>> 
>> After this change this file is now identical to mainline.
>> 
>> Tested by running test a few times on all supported platforms.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Looks right, I reverted a similar patch in core libs a while ago.

Thank you for the reviews @liach and @fparain

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

PR Comment: https://git.openjdk.org/valhalla/pull/2520#issuecomment-4649671736

Reply via email to