See <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/181/display/redirect?page=changes>
Changes: [bodewig] add some documentation hints [bodewig] ensure FileNameMapper implementations deal with null source names [bodewig] properly check return value of mapFileName ------------------------------------------ Started by upstream project "Ant-Build-Matrix-master-Windows" build number 181 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on windows-2012-1 (Windows) in workspace <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ant.git > # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ant.git > git --version # timeout=10 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant.git > +refs/heads/*:refs/remotes/origin/* Checking out Revision e90f71193adc819ee27d2067cbd662ce7efacaf4 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e90f71193adc819ee27d2067cbd662ce7efacaf4 Commit message: "Merge branch '1.9.x'" > git rev-list 3bb66d93845260f90b7df456ac794d25ad1735e4 # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content LANG=en_US.utf8 [EnvInject] - Variables injected successfully. [Windows] $ cmd.exe /C "F:\jenkins\tools\ant\latest\bin\ant.bat -file launch-build.xml '"-Djdk=JDK 1.8.0_121 (unlimited security) 64-bit Windows only"' -Dlabel_exp=Windows -Djenkins=t && exit %%ERRORLEVEL%%" Buildfile: <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/launch-build.xml> launch: [echo] Launching <https://builds.apache.org/job/Ant-Build-Matrix-master-Windows/jdk=JDK%201.8.0_121%20(unlimited%20security)%2064-bit%20Windows%20only,label_exp=Windows/ws/build.bat> allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip -Djenkins=t [exec] [exec] ... Bootstrapping Ant Distribution [exec] JAVA_HOME=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security [exec] JAVA=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security\bin\java [exec] JAVAC=F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security\bin\javac [exec] CLASSPATH=;lib\optional\ant-antunit-1.3.jar;lib\optional\hamcrest-core-1.3.jar;lib\optional\hamcrest-library-1.3.jar;lib\optional\junit-3.8.2.jar;lib\optional\junit-4.12.jar;F:\\jenkins\\tools\\java\\jdk1.8.0_121-unlimited-security\lib\tools.jar;build\classes;src\main; [exec] ANT_HOME=. [exec] [exec] ... Compiling Ant Classes [exec] src\main\org\apache\tools\ant\util\FlatFileNameMapper.java:56: error: unreachable statement [exec] return sourceFileName == null ? null [exec] ^ [exec] Note: Some input files use or override a deprecated API. [exec] Note: Recompile with -Xlint:deprecation for details. [exec] Note: Some input files use unchecked or unsafe operations. [exec] Note: Recompile with -Xlint:unchecked for details. [exec] 1 error [exec] [exec] ... Cleaning Up Build Directories [exec] [exec] ... Done Bootstrapping Ant Distribution [exec] Bootstrap FAILED BUILD SUCCESSFUL Total time: 9 seconds Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?