JVMDI Spec needs update:
SetEventNotificationMode returns a new error:
JVMDI_ERROR_ILLEGAL_ARGUMENT
if thread argument is specified with one of the following events:
- JVMDI_EVENT_VM_INIT
- JVMDI_EVENT_VM_DEATH
- JVMDI_EVENT_THREAD_START
- JVMDI_EVENT_CLASS_UNLOAD
It would also be better to clarify when JVMDI_ERROR_INVALID_THREAD
is returned. It returns INVALID_THREAD if the thread argument is
invalid or the thread has not run.
See 4330606.
SetEventNotificationMode returns a new error:
JVMDI_ERROR_ILLEGAL_ARGUMENT
if thread argument is specified with one of the following events:
- JVMDI_EVENT_VM_INIT
- JVMDI_EVENT_VM_DEATH
- JVMDI_EVENT_THREAD_START
- JVMDI_EVENT_CLASS_UNLOAD
It would also be better to clarify when JVMDI_ERROR_INVALID_THREAD
is returned. It returns INVALID_THREAD if the thread argument is
invalid or the thread has not run.
See 4330606.
- relates to
-
JDK-4330606 SetEventNotificationMode ignores its parameter thread
-
- Closed
-