Skip to content
Permalink
Browse files
8244853: The static build of libextnet is missing the JNI_OnLoad_extn…
…et function

Backport-of: 3d50f24
  • Loading branch information
Yuri Nesterenko committed Apr 15, 2021
1 parent c32180e commit 2b18941f3d2292c161e90f3aaa168598dbd150e4
@@ -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

1 comment on commit 2b18941

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 2b18941 Apr 15, 2021

Please sign in to comment.