Skip to content

Commit

Permalink
Make BlockHound tests run on Java 13 (#9742)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bsideup authored and normanmaurer committed Nov 1, 2019
1 parent 656371e commit 369e667
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions transport-blockhound-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@

<name>Netty/Transport/BlockHound/Tests</name>

<profiles>
<profile>
<id>java13</id>
<activation>
<jdk>13</jdk>
</activation>
<properties>
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties>
</profile>
</profiles>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down

0 comments on commit 369e667

Please sign in to comment.