mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue