--- a/hotspot/src/os/solaris/vm/os_solaris.cpp Thu Jan 27 16:11:27 2011 -0800
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp Tue Feb 01 11:23:19 2011 -0500
@@ -4221,7 +4221,9 @@
// Note that the VM will print warnings if it detects conflicting signal
// handlers, unless invoked with the option "-XX:+AllowUserSignalHandlers".
//
-extern "C" int JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext, int abort_if_unrecognized);
+extern "C" JNIEXPORT int
+JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext,
+ int abort_if_unrecognized);
void signalHandler(int sig, siginfo_t* info, void* ucVoid) {