--- a/src/java.base/share/native/libjli/java.h Tue Feb 13 15:14:11 2018 +0100
+++ b/src/java.base/share/native/libjli/java.h Tue Feb 13 15:18:38 2018 +0100
@@ -133,7 +133,7 @@
char *jvmcfg, jint so_jvmcfg);
/* Reports an error message to stderr or a window as appropriate. */
-void JLI_ReportErrorMessage(const char * message, ...);
+JNIEXPORT void JLI_ReportErrorMessage(const char * message, ...);
/* Reports a system error message to stderr or a window */
JNIEXPORT void JLI_ReportErrorMessageSys(const char * message, ...);