The fix adds new test for FollowReferences JVMTI function to verify correctness of reported field indexes.
------------- Commit messages: - jcheck - new test Changes: https://git.openjdk.org/jdk/pull/17580/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17580&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8317636 Stats: 645 lines in 2 files changed: 645 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/17580.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17580/head:pull/17580 PR: https://git.openjdk.org/jdk/pull/17580