mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8280178: Remove os:: API's that just call system API's
Reviewed-by: iklam, ccheung, dholmes
This commit is contained in:
parent
98b157a79a
commit
a4d201909c
19 changed files with 45 additions and 68 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, 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
|
||||
|
@ -1294,10 +1294,6 @@ FILE* os::fopen(const char* path, const char* mode) {
|
|||
return file;
|
||||
}
|
||||
|
||||
ssize_t os::read(int fd, void *buf, unsigned int nBytes) {
|
||||
return ::read(fd, buf, nBytes);
|
||||
}
|
||||
|
||||
bool os::set_boot_path(char fileSep, char pathSep) {
|
||||
const char* home = Arguments::get_java_home();
|
||||
int home_len = (int)strlen(home);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue