26b40ef78f
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk#f805bfcfda0b8f4d8cb73219c5604fee0ed6a9cd
13 lines
523 B
Diff
13 lines
523 B
Diff
diff --git openjdk.orig/hotspot/src/os/linux/vm/perfMemory_linux.cpp openjdk/hotspot/src/os/linux/vm/perfMemory_linux.cpp
|
|
--- openjdk.orig/hotspot/src/os/linux/vm/perfMemory_linux.cpp
|
|
+++ openjdk/hotspot/src/os/linux/vm/perfMemory_linux.cpp
|
|
@@ -878,7 +878,7 @@
|
|
|
|
// open the file
|
|
int result;
|
|
- RESTARTABLE(::open(filename, oflags), result);
|
|
+ RESTARTABLE(::open(filename, oflags, 0), result);
|
|
if (result == OS_ERR) {
|
|
if (errno == ENOENT) {
|
|
THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(),
|