8280178: Remove os:: API's that just call system API's

Reviewed-by: iklam, ccheung, dholmes
This commit is contained in:
Harold Seigel 2022-01-20 13:10:33 +00:00
parent 98b157a79a
commit a4d201909c
19 changed files with 45 additions and 68 deletions

View file

@ -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);