From 64576442976428a7b349b335e8ad8ba3652c70c5 Mon Sep 17 00:00:00 2001 From: Sergei Egorov Date: Thu, 31 Oct 2019 15:55:20 +0100 Subject: [PATCH] Make BlockHound tests run on Java 13 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