mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
This commit is contained in:
parent
1d5674ab33
commit
4de51069e4
8 changed files with 17 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2019, 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
|
||||
|
@ -198,7 +198,7 @@ HashtableTextDump::HashtableTextDump(const char* filename) : _fd(-1) {
|
|||
quit("Unable to get hashtable dump file size", filename);
|
||||
}
|
||||
_size = st.st_size;
|
||||
_fd = open(filename, O_RDONLY | O_BINARY, 0);
|
||||
_fd = os::open(filename, O_RDONLY | O_BINARY, 0);
|
||||
if (_fd < 0) {
|
||||
quit("Unable to open hashtable dump file", filename);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue