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

Fix error return value of SetEventNotificationMode for jvmdi.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      This bug affects the following tests from testbase_nsk:

          nsk/jvmdi/SetEventNotificationMode/setnotif002

      Robert Field wrote:
      >
      > change
      > the JVMDI_EVENT_USER_DEFINED case in
      > JvmtiEnv::_JVMDI_SetEventNotificationMode() to --
      >
      > case JVMDI_EVENT_USER_DEFINED:
      > // This test is duplicated since the error checking in the JVMTI
      > // function is not called in this case
      > if (event_thread != NULL) {
      > // If a thread is specified, SetEventNotificationMode only works for threads that has run.
      > JavaThread* java_thread = get_JavaThread(event_thread);
      > if (java_thread == NULL) {
      > return JVMTI_ERROR_INVALID_THREAD;
      > }
      > }
      > return JVMTI_ERROR_NONE; // ignore this - never implemented

        Attachments

          Activity

            People

            Assignee:
            swamyv Swamy Venkataramanappa
            Reporter:
            swamyv Swamy Venkataramanappa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: