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

JVMTI Documentation for GetLocalDouble is wrong: refers to long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 8
    • hotspot
    • master
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The documentation for JVMTI at
      https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html#GetLocalDouble
      States:
      "This function can be used to retrieve the value of a local variable whose type is long."

      I believe this to be wrong, probably a copy paste error from the GetLocalLong.

      I think the correct wording should be:
      "This function can be used to retrieve the value of a local variable whose type is double."

      The error is in the last word, where the current documentation says "long" instead of "double".


            korov Lei Zhu
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: