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

get_jvmti_interface directly references Abstract_VM_Version

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sspitsyn Serguei Spitsyn
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: