From 1d4a340a2ba621d78233a2298545bd897fd94d01 Mon Sep 17 00:00:00 2001 From: Petr Pchelko Date: Thu, 22 May 2014 15:46:50 +0400 Subject: [PATCH] 8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang Reviewed-by: anthony, serb --- jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m b/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m index c7dd0b78726..7deb34d0baa 100644 --- a/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m +++ b/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m @@ -36,7 +36,7 @@ static JNIEnv *appKitEnv = NULL; static jobject appkitThreadGroup = NULL; static BOOL awtEmbedded = NO; -inline void attachCurrentThread(void** env) { +static inline void attachCurrentThread(void** env) { if ([NSThread isMainThread]) { JavaVMAttachArgs args; args.version = JNI_VERSION_1_4;