]
Rostislav Svoboda updated WFCORE-3874:
--------------------------------------
Labels: Java11 (was: )
[jdk10] FileSystemDeploymentServiceUnitTestCase#testNoUndeployment
failure
--------------------------------------------------------------------------
Key: WFCORE-3874
URL:
https://issues.jboss.org/browse/WFCORE-3874
Project: WildFly Core
Issue Type: Bug
Components: Deployment Scanner, Test Suite
Affects Versions: 5.0.0.Beta4
Reporter: Petr Kremensky
Assignee: ehsavoie Hugonnet
Labels: Java11
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase#testNoUndeployment
from deployment-scanner module of wildfly-core fails with JDK10, works fine with JDK9.
*reproduce*
{noformat}
wildfly-core]$ mvn test
-Dtest=FileSystemDeploymentServiceUnitTestCase#testNoUndeployment -pl deployment-scanner
...
[INFO] Running
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.121 s
<<< FAILURE! - in
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase
[ERROR]
testNoUndeployment(org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase)
Time elapsed: 0.115 s <<< FAILURE!
java.lang.AssertionError: RuntimeException expected
at org.junit.Assert.fail(Assert.java:88)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase.testNoUndeployment(FileSystemDeploymentServiceUnitTestCase.java:1798)
...
{noformat}
Environment:
{noformat}
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: /usr/lib/maven
Java version: 10.0.1, vendor: Oracle Corporation
{noformat}
Byteman is being involved in the test.