See <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/201/display/redirect?page=changes>
Changes: [Jaikiran Pai] bz-66552 fix Depend task does not handle Dynamic constant pool entries - java.lang.ClassFormatError: Invalid Constant Pool entry Type 17 ------------------------------------------ Started by upstream project "Ant/Ant-Build-Matrix-master-Windows" build number 201 originally caused by: Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on jenkins-win-azr-4 (Windows-Docker Windows) in workspace <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/> The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir > <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/.git> > # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/apache/ant.git # timeout=10 Fetching upstream changes from https://github.com/apache/ant.git > git --version # timeout=10 > git --version # 'git version 2.14.3.windows.1' > git fetch --tags --progress -- https://github.com/apache/ant.git > +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 685f2e795f5892202e685c5355cab8efb9c8455e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 685f2e795f5892202e685c5355cab8efb9c8455e # timeout=10 Commit message: "bz-66552 fix Depend task does not handle Dynamic constant pool entries - java.lang.ClassFormatError: Invalid Constant Pool entry Type 17 In cases the Depend task scans a class file with Constant Pool entry Type 17 there was no handling, just fireing an Exception. Constant is defined since JDK11, and format is same as InvokeDynamic Type 18. Provide Identical handling." > git rev-list --no-walk f3796ab1af7c6481553b758962cf7286099aaa67 # 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. [jdk_11_latest_windows] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins8154724932348678539.bat <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/>java> -version openjdk version "11.0.16.1" 2022-08-12 OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1) OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode) <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/>exit> 0 [jdk_11_latest_windows] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins16006721316644452392.bat <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/>ant> -version Apache Ant(TM) version 1.10.12 compiled on October 13 2021 [jdk_11_latest_windows] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins5814390663872245818.bat <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/>ant> -Djenkins=t -f launch-build.xml Buildfile: <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_windows/ws/launch-build.xml> launch: [echo] Launching <https://ci-builds.apache.org/job/Ant/job/Ant-Build-Matrix-master-Windows/OS=Windows,jdk=jdk_11_latest_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\latest11 [exec] JAVA=F:\jenkins\tools\java\latest11\bin\java [exec] JAVAC=F:\jenkins\tools\java\latest11\bin\javac [exec] CLASSPATH=;lib\optional\ant-antunit-1.4.1.jar;lib\optional\hamcrest-core-1.3.jar;lib\optional\hamcrest-library-1.3.jar;lib\optional\junit-4.13.2.jar;build\classes;src\main; [exec] ANT_HOME=. [exec] [exec] ... Compiling Ant Classes [exec] error: invalid flag: -proc:none [exec] Usage: javac <options> <source files> [exec] use --help for a list of possible options [exec] [exec] ... Cleaning Up Build Directories [exec] [exec] ... Done Bootstrapping Ant Distribution [exec] Bootstrap FAILED BUILD SUCCESSFUL Total time: 8 seconds Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?