8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function
authormdoerr
Thu, 13 Jun 2019 11:12:23 +0200
changeset 55376 0f38ab93a53c
parent 55375 96c7427456f9
child 55377 f48d3bec75ba
8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function Reviewed-by: mbaesken, gromero, kvn
test/hotspot/jtreg/compiler/testlibrary/rtm/libXAbortProvoker.c
--- a/test/hotspot/jtreg/compiler/testlibrary/rtm/libXAbortProvoker.c	Thu Jun 13 09:10:51 2019 +0100
+++ b/test/hotspot/jtreg/compiler/testlibrary/rtm/libXAbortProvoker.c	Thu Jun 13 11:12:23 2019 +0200
@@ -28,7 +28,7 @@
  * so doAbort() does nothing special and only returns after being called.
  * The transaction abortion happens right before the JNI method is called.
  */
-int JNICALL
+JNIEXPORT int JNICALL
 Java_compiler_testlibrary_rtm_XAbortProvoker_doAbort(JNIEnv *env, jobject o) {
   return 0;
 }