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

Checked in jvmti.h not in sync with generated jvmti.h

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b143


      The checked jvmti.h (jdk/src/java.base/share/native/include/jvmti.h) is not in sync with the jvmti.h generated in the hotspot build:

      < JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (2 * 0x100) + 1 /* version: 1.2.1 */
      ---
      > JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (2 * 0x100) + 3 /* version: 1.2.3 */

      It's the checked in version that goes into the generated images.

      In the old build then it used to warn if the checked-in jvmti.h doesn't match the header file generated in the hotspot build. It's possible that we lost this feature when moving to the new build.

      An alternative to just doing a once-off sync up of jvmti.h would be to see if the build can can generated to use the generated jvmti.h and remove the checked-in copy.


            erikj Erik Joelsson
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: