On Fri, 5 Jun 2026 20:05:27 GMT, Chris Plummer <[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.

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

Marked as reviewed by liach (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2520#pullrequestreview-4439492477

Reply via email to