equal
deleted
inserted
replaced
79 Utils.checkAccessFlightRecorder(); |
79 Utils.checkAccessFlightRecorder(); |
80 AccessControlContext acc = AccessController.getContext(); |
80 AccessControlContext acc = AccessController.getContext(); |
81 this.recording = new Recording(); |
81 this.recording = new Recording(); |
82 this.recording.setFlushInterval(Duration.ofMillis(1000)); |
82 this.recording.setFlushInterval(Duration.ofMillis(1000)); |
83 try { |
83 try { |
84 this.stream = new EventDirectoryStream(acc); |
84 this.stream = new EventDirectoryStream(acc, null); |
85 } catch (IOException ioe) { |
85 } catch (IOException ioe) { |
86 throw new IllegalStateException(ioe.getMessage()); |
86 throw new IllegalStateException(ioe.getMessage()); |
87 } |
87 } |
88 } |
88 } |
89 |
89 |