# HG changeset patch # User Gleb Smirnov # Date 1390899922 -14400 # Tue Jan 28 13:05:22 2014 +0400 # Node ID fa648b456968a60678cf09bf8ecff3c2bb19b39a # Parent a635c394328c8846ac901492e32d08b524c5ec77 Replaced the usage of __private_extern__ by __attribute__((visibility(hidden))) diff -r a635c394328c -r fa648b456968 src/solaris/native/java/io/io_util_md.c --- a/src/solaris/native/java/io/io_util_md.c Fri Jan 24 15:08:14 2014 -0800 +++ b/src/solaris/native/java/io/io_util_md.c Tue Jan 28 13:05:22 2014 +0400 @@ -43,7 +43,7 @@ #include -__private_extern__ +__attribute__((visibility("hidden"))) jstring newStringPlatform(JNIEnv *env, const char* str) { jstring rv = NULL; diff -r a635c394328c -r fa648b456968 src/solaris/native/java/net/Inet6AddressImpl.c --- a/src/solaris/native/java/net/Inet6AddressImpl.c Fri Jan 24 15:08:14 2014 -0800 +++ b/src/solaris/native/java/net/Inet6AddressImpl.c Tue Jan 28 13:05:22 2014 +0400 @@ -157,7 +157,7 @@ #ifdef MACOSX /* also called from Inet4AddressImpl.c */ -__private_extern__ jobjectArray +__attribute__((visibility("hidden"))) jobjectArray lookupIfLocalhost(JNIEnv *env, const char *hostname, jboolean includeV6) { jobjectArray result = NULL;