Owen O'Malley created ORC-432:
---------------------------------

             Summary: openjdk 8 has a bug that prevents surefire from working
                 Key: ORC-432
                 URL: https://issues.apache.org/jira/browse/ORC-432
             Project: ORC
          Issue Type: Bug
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley


It looks like the problem is https://bugs.openjdk.java.net/browse/JDK-8030046. 
It looks like:

{code:bash}
[ERROR] Caused by: 
org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM 
terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /root/orc/java/shims && 
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx2048m -jar 
/root/orc/java/shims/target/surefire/surefirebooter4015168140687556977.jar 
/root/orc/java/shims/target/surefire 2018-11-02T12-32-24_319-jvmRun1 
surefire8218006047690391850tmp surefire_04160000529152079754tmp
{code}

The surefire-reports/*.dumpstream looks like:
{code:bash}
Error: Could not find or load main class 
org.apache.maven.surefire.booter.ForkedBooter
{code}

 and we can work around the problem by changing the surefire configuration:

{code:bash}
+          <useSystemClassLoader>false</useSystemClassLoader>
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to