Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a null check to method TestUtils.compressHeapDumps (#10053)
Motivation: java.io.File.listFiles() may return null and cause a unexpected NPE. Modification: Add a null check for variable files. And if variable files is null, the compressHeapDumps method will just return after logging a error message. Result: Fix the potential NPE.
- Loading branch information