JDK-8291955 : Cleanup the JNI invocation API spec and code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-08-05
  • Updated: 2022-08-05
Related Reports
Relates :  
Description
There are a number of inconsistencies in parameter naming e.g. penv vs. p_env, and vm vs p_vm, that should be made consistent across the invocation API. Some grammatical improvements in parameter descriptions can also be made e.g.

`vm`: the VM to which the current thread will be attached, must not be `NULL`.

should read:

`vm`: the VM to which the current thread will be attached. It must not be `NULL`.