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.
- duplicates
-
JDK-6784084 jvmti.h created during the build differs from file in jdk repo and should not
-
- Closed
-
- relates to
-
JDK-8147943 jvmti.h generated with GPL header
-
- Resolved
-
-
JDK-8167078 Duplicate header files in hotspot and jdk
-
- Resolved
-