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

Windows plugin source relies on JVMPI (jvmpi.h), needs to be removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • deploy
    • None
    • generic
    • generic


      The source file:
          deploy/src/plugin/win32/jpishare/CJavaJNI.cpp.

      Has some very questionable code with regards to JVMPI (jvmpi.h). See the end of the file.

      It appears to be simulating a JVMPI VM shutdown event to trigger JCov to dump
      it's tables.
      This needs to be removed. Besides making the deploy build dependent on the JDK having
      jvmpi.h, at runtime it's looking for any JVMPI environment and sending an event that
      the VM is about to shutdown, something normally the VM should do.

      See suggested fix.
      ###@###.### 2005-05-09 15:37:43 GMT

            stanleyh Stanley Ho (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: