--- a/openj9/runtime/compiler/env/j9methodServer.cpp +++ b/openj9/runtime/compiler/env/j9methodServer.cpp @@ -2634,7 +2634,7 @@ TR_ResolvedRelocatableJ9JITServerMethod::validateMethodFieldAttributes(const TR_ return equal; } -TR_J9ServerMethod::TR_J9ServerMethod(TR_FrontEnd * fe, TR_Memory * trMemory, J9Class * aClazz, uintptr_t cpIndex) +TR_J9ServerMethod::TR_J9ServerMethod(TR_FrontEnd * fe, TR_Memory * trMemory, J9Class * aClazz, int32_t cpIndex) : TR_J9Method() { TR_ASSERT(cpIndex != -1, "cpIndex shouldn't be -1"); --- a/openj9/runtime/compiler/env/j9methodServer.hpp +++ b/openj9/runtime/compiler/env/j9methodServer.hpp @@ -326,6 +326,6 @@ protected: class TR_J9ServerMethod : public TR_J9Method { public: - TR_J9ServerMethod(TR_FrontEnd *trvm, TR_Memory *, J9Class * aClazz, uintptr_t cpIndex); + TR_J9ServerMethod(TR_FrontEnd *trvm, TR_Memory *, J9Class * aClazz, int32_t cpIndex); }; #endif // J9METHODSERVER_H