From 369e667427dbadca95da935cbe8404b3691c68cb Mon Sep 17 00:00:00 2001 From: Sergei Egorov Date: Fri, 1 Nov 2019 07:04:06 +0100 Subject: [PATCH] Make BlockHound tests run on Java 13 (#9742) Motivation: Java 13 requires special flags to be set to make BlockHound work Modifications: - Added jdk13 profile to `transport-blockhound-tests` - Enabled `-XX:+AllowRedefinitionToAddDeleteMethods` on jdk13 Result: The tests work on Java 13 --- transport-blockhound-tests/pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/transport-blockhound-tests/pom.xml b/transport-blockhound-tests/pom.xml index 9105858435e..c0a0c8d3ddd 100644 --- a/transport-blockhound-tests/pom.xml +++ b/transport-blockhound-tests/pom.xml @@ -31,6 +31,18 @@ Netty/Transport/BlockHound/Tests + + + java13 + + 13 + + + -XX:+AllowRedefinitionToAddDeleteMethods + + + + 1.8 1.8