--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java Fri Nov 22 09:06:35 2019 -0500
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java Fri Nov 22 17:20:43 2019 +0100
@@ -139,7 +139,7 @@
*/
public static EventStream openRepository() throws IOException {
Utils.checkAccessFlightRecorder();
- return new EventDirectoryStream(AccessController.getContext(), null, SecuritySupport.PRIVILIGED, false);
+ return new EventDirectoryStream(AccessController.getContext(), null, SecuritySupport.PRIVILIGED, null);
}
/**
@@ -162,7 +162,7 @@
public static EventStream openRepository(Path directory) throws IOException {
Objects.nonNull(directory);
AccessControlContext acc = AccessController.getContext();
- return new EventDirectoryStream(acc, directory, FileAccess.UNPRIVILIGED, false);
+ return new EventDirectoryStream(acc, directory, FileAccess.UNPRIVILIGED, null);
}
/**