equal
deleted
inserted
replaced
185 if (name == null) { |
185 if (name == null) { |
186 return InternalEventFilter.ACCEPT_ALL; |
186 return InternalEventFilter.ACCEPT_ALL; |
187 } |
187 } |
188 ef.setThreshold(name, 0); |
188 ef.setThreshold(name, 0); |
189 } |
189 } |
190 return ef.threadSafe(); |
190 return ef; |
191 } |
191 } |
192 |
192 |
193 final public StreamConfiguration setReuse(boolean reuse) { |
193 final public StreamConfiguration setReuse(boolean reuse) { |
194 this.reuse = reuse; |
194 this.reuse = reuse; |
195 changed = true; |
195 changed = true; |
340 this.accessControlContext = acc; |
340 this.accessControlContext = acc; |
341 this.active = active; |
341 this.active = active; |
342 // Create thread object in constructor to ensure caller has |
342 // Create thread object in constructor to ensure caller has |
343 // permission before constructing object |
343 // permission before constructing object |
344 thread = new Thread(this); |
344 thread = new Thread(this); |
345 thread.setDaemon(true); |
|
346 } |
345 } |
347 |
346 |
348 public final void run() { |
347 public final void run() { |
349 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
348 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
350 @Override |
349 @Override |