提交 ee320703 编写于 作者: B bobv

8244853: The static build of libextnet is missing the JNI_OnLoad_extnet function

Reviewed-by: alanb
上级 c60f92c0
......@@ -33,6 +33,11 @@
#include "jni_util.h"
#include "jdk_net_LinuxSocketOptions.h"
/*
* Declare library specific JNI_Onload entry if static build
*/
DEF_STATIC_JNI_OnLoad
/*
* Class: jdk_net_LinuxSocketOptions
* Method: setQuickAck
......
......@@ -32,6 +32,11 @@
#include <netinet/in.h>
#include "jni_util.h"
/*
* Declare library specific JNI_Onload entry if static build
*/
DEF_STATIC_JNI_OnLoad
static jint socketOptionSupported(jint sockopt) {
jint one = 1;
jint rv, s;
......
......@@ -31,6 +31,11 @@ static jfieldID sf_bandwidth;
static int initialized = 0;
/*
* Declare library specific JNI_Onload entry if static build
*/
DEF_STATIC_JNI_OnLoad
/*
* Class: jdk_net_SolarisSocketOptions
* Method: init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册