mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8212000: Verify exported symbols in java.base (libnet, libnio/ch)
Reviewed-by: alanb, chegar
This commit is contained in:
parent
df92fc0954
commit
a9efcea778
5 changed files with 5 additions and 10 deletions
|
@ -1546,7 +1546,7 @@ NET_Bind(int fd, SOCKETADDRESS *sa, int len)
|
|||
* It returns the time left from the timeout (possibly 0), or -1 if it expired.
|
||||
*/
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
jint
|
||||
NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout)
|
||||
{
|
||||
jlong prevNanoTime = JVM_NanoTime(env, 0);
|
||||
|
|
|
@ -747,8 +747,7 @@ Java_sun_nio_ch_Net_pollconnValue(JNIEnv *env, jclass this)
|
|||
|
||||
/* Declared in nio_util.h */
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
handleSocketError(JNIEnv *env, jint errorValue)
|
||||
jint handleSocketError(JNIEnv *env, jint errorValue)
|
||||
{
|
||||
char *xn;
|
||||
switch (errorValue) {
|
||||
|
|
|
@ -62,5 +62,4 @@ jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading);
|
|||
|
||||
/* Defined in Net.c */
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
handleSocketError(JNIEnv *env, jint errorValue);
|
||||
jint handleSocketError(JNIEnv *env, jint errorValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue