Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233943

get_jvmti_interface directly references Abstract_VM_Version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 19
    • 14
    • 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.

            sspitsyn Serguei Spitsyn
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: