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".
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".
- links to
-
Commit(master) openjdk/jdk/1be412dc
-
Review(master) openjdk/jdk/26521