mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
This commit is contained in:
parent
2c292c30b2
commit
89f6ccb93e
157 changed files with 559 additions and 5564 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -70,7 +70,7 @@ Java_java_io_FileOutputStream_writeBytes(JNIEnv *env,
|
|||
writeBytes(env, this, bytes, off, len, append, fos_fd);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
void JNICALL
|
||||
Java_java_io_FileOutputStream_close0(JNIEnv *env, jobject this) {
|
||||
fileClose(env, this, fos_fd);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -59,7 +59,7 @@ void buildJniFunctionName(const char *sym, const char *cname,
|
|||
}
|
||||
}
|
||||
|
||||
size_t
|
||||
JNIEXPORT size_t JNICALL
|
||||
getLastErrorString(char *buf, size_t len)
|
||||
{
|
||||
if (errno == 0 || len < 1) return 0;
|
||||
|
@ -67,7 +67,7 @@ getLastErrorString(char *buf, size_t len)
|
|||
return strlen(buf);
|
||||
}
|
||||
|
||||
int
|
||||
JNIEXPORT int JNICALL
|
||||
getErrorString(int err, char *buf, size_t len)
|
||||
{
|
||||
if (err == 0 || len < 1) return 0;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -178,7 +178,8 @@ FindExecName(char *program)
|
|||
return result;
|
||||
}
|
||||
|
||||
void JLI_ReportErrorMessage(const char* fmt, ...) {
|
||||
JNIEXPORT void JNICALL
|
||||
JLI_ReportErrorMessage(const char* fmt, ...) {
|
||||
va_list vl;
|
||||
va_start(vl, fmt);
|
||||
vfprintf(stderr, fmt, vl);
|
||||
|
@ -186,7 +187,8 @@ void JLI_ReportErrorMessage(const char* fmt, ...) {
|
|||
va_end(vl);
|
||||
}
|
||||
|
||||
void JLI_ReportErrorMessageSys(const char* fmt, ...) {
|
||||
JNIEXPORT void JNICALL
|
||||
JLI_ReportErrorMessageSys(const char* fmt, ...) {
|
||||
va_list vl;
|
||||
char *emsg;
|
||||
|
||||
|
@ -205,7 +207,8 @@ void JLI_ReportErrorMessageSys(const char* fmt, ...) {
|
|||
va_end(vl);
|
||||
}
|
||||
|
||||
void JLI_ReportExceptionDescription(JNIEnv * env) {
|
||||
JNIEXPORT void JNICALL
|
||||
JLI_ReportExceptionDescription(JNIEnv * env) {
|
||||
(*env)->ExceptionDescribe(env);
|
||||
}
|
||||
|
||||
|
@ -345,13 +348,13 @@ FindBootStrapClass(JNIEnv *env, const char* classname)
|
|||
return findBootClass(env, classname);
|
||||
}
|
||||
|
||||
StdArg
|
||||
JNIEXPORT StdArg JNICALL
|
||||
*JLI_GetStdArgs()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
JNIEXPORT int JNICALL
|
||||
JLI_GetStdArgc() {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1541,7 +1541,7 @@ NET_Bind(int fd, SOCKETADDRESS *sa, int len)
|
|||
* It returns the time left from the timeout (possibly 0), or -1 if it expired.
|
||||
*/
|
||||
|
||||
jint
|
||||
JNIEXPORT jint JNICALL
|
||||
NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout)
|
||||
{
|
||||
jlong prevNanoTime = JVM_NanoTime(env, 0);
|
||||
|
|
|
@ -746,7 +746,7 @@ Java_sun_nio_ch_Net_pollconnValue(JNIEnv *env, jclass this)
|
|||
|
||||
/* Declared in nio_util.h */
|
||||
|
||||
jint
|
||||
JNIEXPORT jint JNICALL
|
||||
handleSocketError(JNIEnv *env, jint errorValue)
|
||||
{
|
||||
char *xn;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -62,4 +62,5 @@ jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading);
|
|||
|
||||
/* Defined in Net.c */
|
||||
|
||||
jint handleSocketError(JNIEnv *env, jint errorValue);
|
||||
JNIEXPORT jint JNICALL
|
||||
handleSocketError(JNIEnv *env, jint errorValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue