-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11, 15
-
Component/s: hotspot
-
b19
In the current implementation of fileStream::flush()
void fileStream::flush() {
fflush(_file);
}
According to some related documents(http://www.cplusplus.com/reference/cstdio/fflush/) if _file is NULL,
fflush() will flush all open output streams, and _file would be null in some cases.
void fileStream::flush() {
fflush(_file);
}
According to some related documents(http://www.cplusplus.com/reference/cstdio/fflush/) if _file is NULL,
fflush() will flush all open output streams, and _file would be null in some cases.