branch | JEP-349-branch |
changeset 57638 | 3b41affae2d2 |
parent 57628 | f5f590eaecf5 |
child 57640 | 46a77fccd251 |
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RepositoryFiles.java Fri Aug 02 20:05:23 2019 +0200 +++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RepositoryFiles.java Mon Aug 05 19:58:56 2019 +0200 @@ -53,7 +53,7 @@ private volatile boolean closed; public RepositoryFiles(SafePath repository) { - this.repository = repository.toPath(); + this.repository = repository == null ? null : repository.toPath(); } public long getTimestamp(Path p) {