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

Reviewed-by: alanb
This commit is contained in:
Bob Vandette 2020-05-13 11:35:48 -04:00
parent 658fb7ac3e
commit 3d50f242c2
3 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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;

View File

@ -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