Prevent "expensive" operation of filling in a stack trace for signals
This commit is contained in:
parent
7822c93e64
commit
2f6e09294c
@ -73,4 +73,12 @@ public class ControlFlowSignal extends RuntimeException {
|
||||
public ControlFlowSignal(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@SuppressWarnings("sync-override")
|
||||
@Override
|
||||
public Throwable fillInStackTrace() {
|
||||
|
||||
// Prevent "expensive" operation of filling in a stack trace for signals
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user