Steinar Bang created SHIRO-658:
----------------------------------
Summary: Problems building shiro on openjdk-8 on current debian
stable (9.6 "stretch")
Key: SHIRO-658
URL: https://issues.apache.org/jira/browse/SHIRO-658
Project: Shiro
Issue Type: Bug
Environment: debian 9.6 "stretch", amd64, openjdk-8-jdk:amd64
8u181-b13-2~deb9u1, maven 3.3.9-4
Reporter: Steinar Bang
Shiro master HEAD currently doesn't build on openjdk-8. The "mvn clean install"
command fails with the following error message:
{noformat}
[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
{noformat}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)