Our 32 bit Windows build fails with :
d:\test\hotspot\jtreg\serviceability\jvmti\DynamicCodeGenerated\libDynamicCodeGenerated.cpp(49): error C2373: 'Agent_OnLoad': redefinition; different type modifiers
d:\jdk-dev-build\support\modules_include\java.base\jvmti.h(51): note: see declaration of 'Agent_OnLoad'
I think the Agent_onLoad function in test/hotspot/jtreg/serviceability/jvmti/DynamicCodeGenerated/libDynamicCodeGenerated.cpp must be
JNIEXPORT jint JNICALL Agent_onLoad
to work on 32bit Windows .
d:\test\hotspot\jtreg\serviceability\jvmti\DynamicCodeGenerated\libDynamicCodeGenerated.cpp(49): error C2373: 'Agent_OnLoad': redefinition; different type modifiers
d:\jdk-dev-build\support\modules_include\java.base\jvmti.h(51): note: see declaration of 'Agent_OnLoad'
I think the Agent_onLoad function in test/hotspot/jtreg/serviceability/jvmti/DynamicCodeGenerated/libDynamicCodeGenerated.cpp must be
JNIEXPORT jint JNICALL Agent_onLoad
to work on 32bit Windows .