AsyncGatewayTests: Fix to currentThread() method

This commit is contained in:
Artem Bilan
2022-10-04 16:07:12 -04:00
parent 5fadaf533d
commit fb1c89f680

View File

@@ -248,7 +248,7 @@ public class AsyncGatewayTests {
reply.complete(null);
}
catch (InterruptedException ex) {
Thread.currentThread.interrupt();
Thread.currentThread().interrupt();
ReflectionUtils.rethrowRuntimeException(ex);
}
}).start();