Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-658

Problems building shiro on openjdk-8 on current debian stable (9.6 "stretch")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 1.4.1
    • 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.

      Attachments

        Activity

          People

            fpapon Francois Papon
            sb@dod.no Steinar Bang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: