changeset 55376:0f38ab93a53c

8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function Reviewed-by: mbaesken, gromero, kvn
author mdoerr
date Thu, 13 Jun 2019 11:12:23 +0200
parents 96c7427456f9
children f48d3bec75ba
files test/hotspot/jtreg/compiler/testlibrary/rtm/libXAbortProvoker.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }