jdk
81054789 - 8268165: AsyncLogging will crash if rotate() fails

Commit
3 years ago
8268165: AsyncLogging will crash if rotate() fails LogFileOutput::rotate() may leave _stream NULL because os::fopen() may return NULL due to space or inode limitations. AsyncLogWriter::write() calls LogFileOutput::write_blocking() without null check. Null check is added to prevent from crashing. Reviewed-by: ysuenaga
Author
Xin Liu
Committer
Parents
Loading