See <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/13/display/redirect?page=changes>
Changes: [rwhitcomb] Rearranged the build.xml file and cleaned up the "environment-info" messages with the build number and newly-introduced build date/time. Added "compiler.release" to "build.properties" as well as "min.ant.version" and load this file right up front, then do the min Ant version check next. Make some of the other checks more dependent on these build.properties values. Use "--release" flag for newer Java compilers. ------------------------------------------ Started by an SCM change Running as SYSTEM No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found [EnvInject] - Loading node environment variables. No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found Building remotely on H48 (ubuntu) in workspace <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/> No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/.> to depth infinity with ignoreExternals: false Updating http://svn.apache.org/repos/asf/pivot/jenkins at revision '2020-03-29T00:15:09.466 +0000' At revision 1875830 Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk> to depth infinity with ignoreExternals: false Updating http://svn.apache.org/repos/asf/pivot/trunk at revision '2020-03-29T00:15:09.466 +0000' U build.properties U build.xml At revision 1875830 No changes for http://svn.apache.org/repos/asf/pivot/jenkins since the previous build [EnvInject] - Executing scripts and injecting environment variables after the SCM step. No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found [Pivot-trunk on Java 8 (Open JDK)] $ /home/jenkins/tools/ant/latest/bin/ant check clean package test doc deploy package-tests package-sources package-javadoc Buildfile: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/build.xml> [propertyfile] Updating property file: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/build.number> help: [echo] Running on Jenkins? true [echo] Using Classpath: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:/usr/lib/jvm/java-11-openjdk-amd64/lib/jrt-fs.jar check: [echo] Using CLASSPATH=<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:/usr/lib/jvm/java-11-openjdk-amd64/lib/jrt-fs.jar clean: [delete] Deleting directory <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/lib> environment-info: [echo] [echo] O/S: Linux, version 4.15.0-76-generic, architecture amd64 [echo] Java: home at '/usr/lib/jvm/java-11-openjdk-amd64', version 11.0.6, vendor Ubuntu [echo] Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 [echo] [echo] Compile environment for pivot_build_by_jenkins-2.1.0 is: [echo] show deprecation true [echo] debug true [echo] release 8 [echo] encoding UTF-8 [echo] indexJars true [echo] arg -Xlint [echo] needs module flags? true [echo] [echo] Last Changed Revision: 1875830 [echo] Build Number: 1875830 started on 2020-03-29 at 00:15:25 UTC [echo] core: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/core/ant-bin> [javac] Compiling 181 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/core/ant-bin> wtk: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/wtk/ant-bin> [javac] Compiling 444 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/wtk/ant-bin> [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java>:28: error: package netscape.javascript does not exist [javac] import netscape.javascript.JSObject; [javac] ^ [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java>:412: error: cannot find symbol [javac] JSObject window = JSObject.getWindow(applicationHostApplet); [javac] ^ [javac] symbol: class JSObject [javac] location: class BrowserApplicationContext [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java>:412: error: cannot find symbol [javac] JSObject window = JSObject.getWindow(applicationHostApplet); [javac] ^ [javac] symbol: variable JSObject [javac] location: class BrowserApplicationContext [javac] 3 errors BUILD FAILED <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/build.xml>:697: The following error occurred while executing this line: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208%20(Open%20JDK)/ws/pivot_trunk/build.xml>:208: Compile failed; see the compiler error output for details. Total time: 9 seconds Build step 'Invoke Ant' marked build as failure No JDK named ?Open JDK 1.8 (Only on ubuntu nodes)? found