[jboss-jira] [JBoss JIRA] (ELY-1692) Tests are not run with -Djava8.home java
Martin Choma (Jira)
issues at jboss.org
Tue Oct 9 03:37:00 EDT 2018
Martin Choma created ELY-1692:
---------------------------------
Summary: Tests are not run with -Djava8.home java
Key: ELY-1692
URL: https://issues.jboss.org/browse/ELY-1692
Project: WildFly Elytron
Issue Type: Bug
Components: Testsuite
Affects Versions: 1.7.0.CR2
Reporter: Martin Choma
Elytron enforces JDK9+ jdk, but is not possible to run tests with jdk 8.
{noformat}
java -version
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
mvn clean test -Dtest=MechanismDatabaseTest -Dmaven.test.redirectTestOutputToFile=true -Djava8.home=/home/mchoma/app/jdk8u172-b11 -X
...
[DEBUG] Forking command line: /bin/sh -c cd /home/mchoma/git-repo/wildfly-elytron && /home/mchoma/app/jdk-11+28/bin/java
{noformat}
Also in surefire reports java8 folder there is java 11 logged
{noformat}
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.vm.version" value="11+28"/>
{noformat}
Setting to blocker as currently I dont see way how to run tests on jdk8.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list