mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8212001: Verify exported symbols in java.base (libjava)
Reviewed-by: chegar
This commit is contained in:
parent
9701ffd293
commit
01a3fec4cb
5 changed files with 5 additions and 8 deletions
|
@ -213,8 +213,7 @@ pathToNTPath(JNIEnv *env, jstring path, jboolean throwFNFE) {
|
|||
return pathbuf;
|
||||
}
|
||||
|
||||
JNIEXPORT FD JNICALL
|
||||
winFileHandleOpen(JNIEnv *env, jstring path, int flags)
|
||||
FD winFileHandleOpen(JNIEnv *env, jstring path, int flags)
|
||||
{
|
||||
const DWORD access =
|
||||
(flags & O_WRONLY) ? GENERIC_WRITE :
|
||||
|
|
|
@ -56,8 +56,7 @@ handleLseek(FD fd, jlong offset, jint whence);
|
|||
* Returns an opaque handle to file named by "path". If an error occurs,
|
||||
* returns -1 and an exception is pending.
|
||||
*/
|
||||
JNIEXPORT FD JNICALL
|
||||
winFileHandleOpen(JNIEnv *env, jstring path, int flags);
|
||||
FD winFileHandleOpen(JNIEnv *env, jstring path, int flags);
|
||||
|
||||
/*
|
||||
* Macros to set/get fd from the java.io.FileDescriptor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue