fix: test

This commit is contained in:
yuhuihuang 2020-08-09 19:20:52 +08:00
parent 2de6a45ca1
commit 58819b6361

View File

@ -210,7 +210,7 @@ public final class AsyncTaskExecutor extends TaskExecutor {
if (resolved instanceof Exception) {
Exception e = (Exception) resolved;
if (e instanceof InterruptedException || e instanceof CancellationException) {
task.setException(e);
task.setException(null);
if (task.getSignificance().shouldLog()) {
Logging.LOG.log(Level.FINE, "Task aborted: " + task.getName());
}