src/hotspot/share/prims/jni.cpp
changeset 59248 e92153ed8bdc
parent 59247 56bf71d64d51
child 59251 4cbfa5077d68
--- a/src/hotspot/share/prims/jni.cpp	Mon Nov 25 12:22:13 2019 +0100
+++ b/src/hotspot/share/prims/jni.cpp	Mon Nov 25 12:30:24 2019 +0100
@@ -3689,7 +3689,7 @@
   intptr_t *a = (intptr_t *) jni_functions();
   intptr_t *b = (intptr_t *) new_jni_NativeInterface;
   for (uint i=0; i <  sizeof(struct JNINativeInterface_)/sizeof(void *); i++) {
-    Atomic::store(*b++, a++);
+    Atomic::store(a++, *b++);
   }
 }