Skip to content
Permalink
Browse files

8241750: x86_32 build failure after JDK-8227269

Reviewed-by: rkennke, cjplummer
  • Loading branch information
shipilev committed Mar 27, 2020
1 parent 211e529 commit 9e9f110d0595f49f8f1b62bd51989da22b373d77
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jdk.jdwp.agent/share/native/libjdwp/classTrack.c
@@ -69,7 +69,7 @@ cbTrackingObjectFree(jvmtiEnv* jvmti_env, jlong tag)
debugMonitorExit(classTrackLock);
return;
}
*(char**)bagAdd(deletedSignatures) = (char*)tag;
*(char**)bagAdd(deletedSignatures) = (char*)jlong_to_ptr(tag);

debugMonitorExit(classTrackLock);
}
@@ -117,7 +117,7 @@ classTrack_addPreparedClass(JNIEnv *env_unused, jclass klass)
if (error != JVMTI_ERROR_NONE) {
EXIT_ERROR(error,"signature");
}
error = JVMTI_FUNC_PTR(trackingEnv, SetTag)(env, klass, (jlong)signature);
error = JVMTI_FUNC_PTR(trackingEnv, SetTag)(env, klass, ptr_to_jlong(signature));
if (error != JVMTI_ERROR_NONE) {
jvmtiDeallocate(signature);
EXIT_ERROR(error,"SetTag");

0 comments on commit 9e9f110

Please sign in to comment.