From 17cff0ee776aec35c02c1925799c3f31a1ea3cee 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 3dd88d2eb6..f2709cd4c7 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