[lworld] RFR: 8248330: [lworld] [lw3] test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetImplementedInterfaces/getintrf007/TestDescription.java fails because of IdentityObject

Harold Seigel hseigel at openjdk.java.net
Thu Jun 25 15:50:29 UTC 2020

On Thu, 25 Jun 2020 15:33:21 GMT, Frederic Parain <fparain at openjdk.org> wrote:

> Please review this small fix in JVMTI.
> The problem is that GetImplementedInterfaces doesn't return the expected set of interfaces because of the injection of
> the java.lang.IdentityObject interface by the JVM. The fix simply filters out this interface if it has been injected by
> the JVM, providing the same behavior as for reflection.  Thank you,
> Fred

The changes look good.  Does this also fix the test failures listed in JDK-8247491?


Marked as reviewed by hseigel (Committer).

PR: https://git.openjdk.java.net/valhalla/pull/100

More information about the valhalla-dev mailing list