get_jvmti_interface directly references Abstract_VM_Version

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 19
    • Affects Version/s: 14
    • Component/s: hotspot
    • None

      JvmtiExport::get_jvmti_interface calls Abstract_VM_Version::vm_major_version(). Clients of the VM_Version API should always use VM_Version, never Abstract_VM_Version, to permit overriding (as discussed in JDK-7041262).

      Reference was introduced by JDK-8219023. This may not matter in this specific case, but code cleanliness matters.

            Assignee:
            Serguei Spitsyn
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: