[infinispan-issues] [JBoss JIRA] (ISPN-12030) BlockHound is not active on JDK 13/14
Dan Berindei (Jira)
issues at jboss.org
Thu Jun 18 14:24:33 EDT 2020
Dan Berindei created ISPN-12030:
-----------------------------------
Summary: BlockHound is not active on JDK 13/14
Key: ISPN-12030
URL: https://issues.redhat.com/browse/ISPN-12030
Project: Infinispan
Issue Type: Bug
Components: Build, Test Suite
Affects Versions: 11.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.1.Final
BlockHound cannot instrument native methods on JDK 13+
{noformat}
15:04:47,001 FATAL (Thread-0) [Infinispan-TEST] Throwable was not caught in thread Thread[Thread-0,5,main] - exception is: java.lang.IllegalStateException: The instrumentation have failed.
It looks like you're running on JDK 13+.
You need to add '-XX:+AllowRedefinitionToAddDeleteMethods' JVM flag.
See https://github.com/reactor/BlockHound/issues/33 for more info.
{noformat}
Maven profile {{java13-test}} is supposed to add flag -XX:+AllowRedefinitionToAddDeleteMethods to the fork JVM, but it doesn't work because the activation condition is incomplete (missing a {{)}} after the comma).
The profile also tries to add the flag when the {{java8-test}} profile is selected from the command line, so adding the missing {{)}} is not enough.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list