Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
-
None
-
debian 9.6 "stretch", amd64, openjdk-8-jdk:amd64 8u181-b13-2~deb9u1, maven 3.3.9-4
Description
Shiro master HEAD currently doesn't build on openjdk-8. The "mvn clean install" command fails with the following error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project shiro-crypto-core: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/sb/workspaces/shiro/shiro/crypto/core && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -javaagent:/home/sb/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/sb/workspaces/shiro/shiro/crypto/core/target/jacoco.exec -jar /home/sb/workspaces/shiro/shiro/crypto/core/target/surefire/surefirebooter5674279985738901440.jar /home/sb/workspaces/shiro/shiro/crypto/core/target/surefire/surefire1414141480594227705tmp /home/sb/workspaces/shiro/shiro/crypto/core/target/surefire/surefire_02190721174349612856tmp
This is a known openjdk-8 issue https://stackoverflow.com/a/53016532 and is fixed in 8u191 but will fail on the current debian stable wich has 8u181.