]
Ilia Vassilev updated ELY-1707:
-------------------------------
Summary: Running tests on JDK11 for branch 1.6.x (was: Runing tests on JDK11 for
branch 1.6.x )
Running tests on JDK11 for branch 1.6.x
----------------------------------------
Key: ELY-1707
URL:
https://issues.redhat.com/browse/ELY-1707
Project: WildFly Elytron
Issue Type: Bug
Components: Testsuite
Affects Versions: 1.6.1.Final
Reporter: Martin Choma
Assignee: Ilia Vassilev
Priority: Major
On 1.6.x branch I am having trouble to test with JDK11
{{noformat}}
git checkout 1.6.x
. java_oracle_8.sh
mvn clean test -DskipTests
. java_oracle_11.sh
mvn test -Dmaven.main.skip=true
...
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.corba not found
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.427 s
[INFO] Finished at: 2018-11-05T09:49:17+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project wildfly-elytron: ExecutionException The forked VM terminated
without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/mchoma/git-repo/wildfly-elytron &&
/home/mchoma/app/oracle-jdk-11+28/bin/java
-javaagent:/home/mchoma/.m2/repository/org/jmockit/jmockit/1.33/jmockit-1.33.jar
--add-modules java.corba,java.sql --illegal-access=permit
-Djdk.attach.allowAttachSelf=true -jar
/home/mchoma/git-repo/wildfly-elytron/target/surefire/surefirebooter10245887984403962786.jar
/home/mchoma/git-repo/wildfly-elytron/target/surefire/surefire10250982648577178380tmp
/home/mchoma/git-repo/wildfly-elytron/target/surefire/surefire_04789553250451761755tmp
...
{{noformat}}
Workaround exists. I havet to redefine {noformat}modular.jdk.args{noformat} from
{noformat}<modular.jdk.args>--add-modules java.corba,java.sql
--illegal-access=permit</modular.jdk.args>{noformat}
to
{noformat}-Dmodular.jdk.args="--add-modules java.sql
--illegal-access=permit"{noformat}