diff --git a/spring-integration-core/src/test/java/org/springframework/integration/gateway/AsyncGatewayTests.java b/spring-integration-core/src/test/java/org/springframework/integration/gateway/AsyncGatewayTests.java index fac9f9ee2b..64b11acf67 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/gateway/AsyncGatewayTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/gateway/AsyncGatewayTests.java @@ -248,7 +248,7 @@ public class AsyncGatewayTests { reply.complete(null); } catch (InterruptedException ex) { - Thread.currentThread.interrupt(); + Thread.currentThread().interrupt(); ReflectionUtils.rethrowRuntimeException(ex); } }).start();