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

Frederic Parain fparain at openjdk.java.net
Thu Jun 25 15:42:50 UTC 2020


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

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

Commit messages:
 - Filter out IdentityObject in GetImplementedInterfaces

Changes: https://git.openjdk.java.net/valhalla/pull/100/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/100/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8248330
  Stats: 10 lines in 1 file changed: 5 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/100.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/100/head:pull/100

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



More information about the valhalla-dev mailing list