See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/117/display/redirect?page=changes>
Changes:
[Marius Volkhart] Revert "Replace magic constant with reference" changes
Reverts r1886986, r1886987 and r1886988. Incorrect conversion between int and
shorts led to incorrect logic.
[Marius Volkhart] Replace magic constant use of Escher Blip End type ID with
reference
Instead of referring to the magic constant 0xF117, reference the value in the
EscherRecordTypes enum.
[Marius Volkhart] Replace magic constant use of Escher Blip Start type ID with
reference
Instead of referring to the magic constant 0xF018, reference the value in the
EscherRecordTypes enum.
[Marius Volkhart] Replace magic constant use of EscherBSERecord type ID with
reference
Instead of referring to the magic constant 0xF007, reference the value in the
EscherRecordTypes enum.
[PJ Fanning] add missing license
------------------------------------------
[...truncated 2.44 KB...]
drwxr-xr-x 8 root root 4096 Jan 29 21:28 .
drwxr-xr-x 43 root root 4096 Feb 16 14:31 ..
drwxr-xr-x 2 root root 4096 Jan 29 21:28 bin
-r--r--r-- 1 root root 3244 Dec 9 12:47 COPYRIGHT
drwxr-xr-x 3 root root 4096 Jan 29 21:28 include
-rw-r--r-- 1 root root 5226870 Dec 9 10:15 javafx-src.zip
-rw-r--r-- 1 root root 195 Dec 9 12:47 jmc.txt
drwxr-xr-x 6 root root 4096 Jan 29 21:28 jre
drwxr-xr-x 4 root root 4096 Jan 29 21:28 legal
drwxr-xr-x 4 root root 4096 Jan 29 21:28 lib
-r--r--r-- 1 root root 44 Dec 9 12:47 LICENSE
drwxr-xr-x 4 root root 4096 Jan 29 21:28 man
-r--r--r-- 1 root root 159 Dec 9 12:47 README.html
-rw-r--r-- 1 root root 424 Dec 9 12:47 release
-rw-r--r-- 1 root root 21147701 Dec 9 12:47 src.zip
-rw-r--r-- 1 root root 190 Dec 9 10:15 THIRDPARTYLICENSEREADME-JAVAFX.txt
-r--r--r-- 1 root root 190 Dec 9 12:47 THIRDPARTYLICENSEREADME.txt
+ ls -al /home/jenkins/tools/java/latest1.8/bin
total 836
drwxr-xr-x 2 root root 4096 Jan 29 21:28 .
drwxr-xr-x 8 root root 4096 Jan 29 21:28 ..
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 appletviewer
lrwxrwxrwx 1 root root 8 Dec 9 12:47 ControlPanel -> jcontrol
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 extcheck
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 idlj
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jar
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jarsigner
-rwxr-xr-x 1 root root 8712 Dec 9 12:47 java
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 javac
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 javadoc
-rwxr-xr-x 1 root root 2293 Dec 9 10:15 javafxpackager
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 javah
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 javap
-rwxr-xr-x 1 root root 2293 Dec 9 10:15 javapackager
-rwxr-xr-x 1 root root 1809 Dec 9 12:47 java-rmi.cgi
-rwxr-xr-x 1 root root 148896 Dec 9 12:47 javaws
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jcmd
-rwxr-xr-x 1 root root 8856 Dec 9 12:47 jconsole
-rwxr-xr-x 1 root root 6264 Dec 9 12:47 jcontrol
-rwxr-xr-x 1 root root 8848 Dec 9 12:47 jdb
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jdeps
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jhat
-rwxr-xr-x 1 root root 8896 Dec 9 12:47 jinfo
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jjs
-rwxr-xr-x 1 root root 8896 Dec 9 12:47 jmap
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jps
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 jrunscript
-rwxr-xr-x 1 root root 8848 Dec 9 12:47 jsadebugd
-rwxr-xr-x 1 root root 8896 Dec 9 12:47 jstack
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jstat
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 jstatd
-rwxr-xr-x 1 root root 5110 Jan 14 2017 jvisualvm
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 keytool
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 native2ascii
-rwxr-xr-x 1 root root 8904 Dec 9 12:47 orbd
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 pack200
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 policytool
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 rmic
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 rmid
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 rmiregistry
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 schemagen
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 serialver
-rwxr-xr-x 1 root root 8840 Dec 9 12:47 servertool
-rwxr-xr-x 1 root root 8904 Dec 9 12:47 tnameserv
-rwxr-xr-x 1 root root 186960 Dec 9 12:47 unpack200
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 wsgen
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 wsimport
-rwxr-xr-x 1 root root 8832 Dec 9 12:47 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_281
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins 4096 Feb 27 01:13 .
drwxr-xr-x 9 jenkins jenkins 4096 Feb 27 07:56 ..
drwxr-xr-x 30 jenkins jenkins 4096 Feb 27 01:13 build
-rw-r--r-- 1 jenkins jenkins 15182 Feb 27 01:12 build.gradle
-rw-r--r-- 1 jenkins jenkins 172 Feb 27 01:13 build.javacheck.xml
-rw-r--r-- 1 jenkins jenkins 165630 Feb 27 01:12 build.xml
-rw-r--r-- 1 jenkins jenkins 3264 Feb 27 01:12 .classpath
-rw-r--r-- 1 jenkins jenkins 6325 Feb 27 01:12 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 2934 Feb 27 01:12 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Feb 27 01:12 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Feb 27 01:12 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 01:12 .github
-rw-r--r-- 1 jenkins jenkins 475 Feb 27 01:12 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 01:12 gradle
drwxr-xr-x 7 jenkins jenkins 4096 Feb 27 01:14 .gradle
-rwxr-xr-x 1 jenkins jenkins 5770 Feb 27 01:12 gradlew
-rw-r--r-- 1 jenkins jenkins 3058 Feb 27 01:12 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 01:12 jenkins
-rw-r--r-- 1 jenkins jenkins 167284 Feb 27 01:12 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 01:12 legal
drwxr-xr-x 10 jenkins jenkins 4096 Feb 27 01:13 lib
drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 01:12 maven
drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 01:12 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Feb 27 01:12 patch.xml
-rw-r--r-- 1 jenkins jenkins 426 Feb 27 01:12 .project
-rw-r--r-- 1 jenkins jenkins 4278 Feb 27 01:12 README.rst
drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 01:12 .settings
-rw-r--r-- 1 jenkins jenkins 556 Feb 27 01:12 settings.gradle
drwxr-xr-x 9 jenkins jenkins 4096 Feb 27 01:12 sonar
drwxr-xr-x 16 jenkins jenkins 4096 Feb 27 01:12 src
drwxr-xr-x 4 jenkins jenkins 4096 Feb 28 01:12 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Feb 27 01:12 test-data
-rw-r--r-- 1 jenkins jenkins 419 Feb 27 01:12 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java
${ant.java.version}/${java.version}</echo><exec executable="javac"><arg
value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.javacheck.xml>
Detected Java version: 1.8 in:
/usr/local/asfpackages/java/oraclejdk-1.8.0-281/jre
Detected OS: Linux
parsing buildfile
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.javacheck.xml>
with URI =
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.javacheck.xml>
Project base dir set to:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]
test:
parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI =
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip
file
[echo] Java 1.8/1.8.0_281
[exec] Current OS is Linux
[exec] Executing 'javac' with arguments:
[exec] '-version'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] javac 1.8.0_281
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-API-Check] $
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/gradlew> japicmp
To honour the JVM settings for this build a single-use Daemon process will be
forked. See
https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
Trying to override old definition of datatype junit
> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars
> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27
2020 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java
sometimes...)
[ant:echo] Using Java: 1.8.0_281/1.8.0_281-b09/25.281-b09/Java HotSpot(TM)
64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-58-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1
> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar
> Task :ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPageContents.java>:47:
error: cannot access DocumentFactory
_pageContents =
PageContentsDocument.Factory.parse(getPackagePart().getInputStream()).getPageContents();
^
class file for org.apache.xmlbeans.impl.schema.DocumentFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:468:
error: cannot access SimpleTypeFactory
STHexColorAuto hexColor = STHexColorAuto.Factory.newInstance();
^
class file for org.apache.xmlbeans.impl.schema.SimpleTypeFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFLineProperties.java>:33:
error: recursive constructor invocation
public XDDFLineProperties() {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:117:
error: recursive constructor invocation
public XSSFColor(byte[] rgb, IndexedColorMap colorMap) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFHyperlink.java>:29:
error: recursive constructor invocation
public XDDFHyperlink(String id) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFPresetLineDash.java>:28:
error: recursive constructor invocation
public XDDFPresetLineDash(PresetLineDash dash) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFSolidFillProperties.java>:38:
error: recursive constructor invocation
public XDDFSolidFillProperties(XDDFColor color) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFBulletSizePoints.java>:28:
error: recursive constructor invocation
public XDDFBulletSizePoints(double value) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
> Task :ooxml:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 31s
14 actionable tasks: 12 executed, 2 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]