Add missing -XX:+AllowRedefinitionToAddDeleteMethods for blockhound testsuite (#10700)

Motivation:

We need to also add -XX:+AllowRedefinitionToAddDeleteMethods for JDK15 and 16 as otherwise blockhound will not work

Modifications:

Add profiles for JDK15 and JDK16

Result:

Blockhound tests pass again
This commit is contained in:
Norman Maurer 2020-10-17 09:15:49 +02:00 committed by GitHub
parent cc79f5f4ff
commit 5e808eb9a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,24 @@
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common> <argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties> </properties>
</profile> </profile>
<profile>
<id>java15</id>
<activation>
<jdk>15</jdk>
</activation>
<properties>
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties>
</profile>
<profile>
<id>java16</id>
<activation>
<jdk>16</jdk>
</activation>
<properties>
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties>
</profile>
</profiles> </profiles>
<properties> <properties>