--- old/src/java.instrument/share/native/libinstrument/Reentrancy.c 2018-04-07 00:56:57.860501800 +0200 +++ new/src/java.instrument/share/native/libinstrument/Reentrancy.c 2018-04-07 00:56:57.363473400 +0200 @@ -90,7 +90,7 @@ jthread thread, const void * expected) { jvmtiError error; - void * test = (void *) 0x99999999UL; + void * test = (void *) 0x99999999ULL; /* now check if we do a fetch we get what we wrote */ error = (*jvmtienv)->GetThreadLocalStorage(