See <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/1643/display/redirect?page=changes>
Changes: [Tilman Hausherr] PDFBOX-5660: optimize, as suggested by Valery Bokov; closes #245 ------------------------------------------ [...truncated 52.64 KiB...] Text [[TextType:Text_String_1867716315418727690]] type Text [[TextType:Text_String_5201039256901044088]] type Text [[TextType:Text_String_-5255161564529546386]] type Text [[TextType:Text_String_5436446002798094574]] type Text [[TextType:Text_String_5394752089575944852]] type Text [[TextType:Text_String_-6961525470263817205]] type Text [[TextType:Text_String_513855612681634755]] type Text [[TextType:Text_String_-6628336596362161184]] type Text [[TextType:Text_String_3206113458887597685]] type Text [[TextType:Text_String_4130948287262111985]] type Text [[TextType:Text_String_9123159736581733081]] type Text [[TextType:Text_String_1427736439292412855]] type Text [[TextType:Text_String_-5216747841905365934]] type Text [[TextType:Text_String_7844966694679467806]] type Text [[TextType:Text_String_2257500880637580277]] type Text [[TextType:Text_String_-6127488319137936633]] type Text [[TextType:Text_String_-6106407635429563633]] type Text [[TextType:Text_String_-6816921986149083449]] type Text [[TextType:Text_String_1445186387576958365]] [INFO] Tests run: 108, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 s - in org.apache.xmpbox.schema.DublinCoreTest [INFO] Running org.apache.xmpbox.schema.AdobePDFErrorsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 s - in org.apache.xmpbox.schema.AdobePDFErrorsTest [INFO] Running org.apache.xmpbox.schema.BasicJobTicketSchemaTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.apache.xmpbox.schema.BasicJobTicketSchemaTest [INFO] Running org.apache.xmpbox.schema.PDFAIdentificationOthersTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.xmpbox.schema.PDFAIdentificationOthersTest [INFO] Running org.apache.xmpbox.schema.XMPMediaManagementTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.apache.xmpbox.schema.XMPMediaManagementTest [INFO] Running org.apache.xmpbox.schema.TestExifXmp [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.xmpbox.schema.TestExifXmp [INFO] Running org.apache.xmpbox.schema.PDFAIdentificationTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.xmpbox.schema.PDFAIdentificationTest [INFO] Running org.apache.xmpbox.schema.XMPBasicTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.apache.xmpbox.schema.XMPBasicTest [INFO] Running org.apache.xmpbox.schema.XmpRightsSchemaTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.xmpbox.schema.XmpRightsSchemaTest [INFO] Running org.apache.xmpbox.schema.AdobePDFTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.xmpbox.schema.AdobePDFTest [INFO] Running org.apache.xmpbox.schema.XMPSchemaTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.xmpbox.schema.XMPSchemaTest [INFO] Running org.apache.xmpbox.TestXMPWithDefinedSchemas [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s - in org.apache.xmpbox.TestXMPWithDefinedSchemas [INFO] Running org.apache.xmpbox.parser.DeserializationTest [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in org.apache.xmpbox.parser.DeserializationTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 812, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- animal-sniffer:1.17:check (check-java-version) @ xmpbox --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 [INFO] [INFO] --- bundle:3.5.1:bundle (default-bundle) @ xmpbox --- [INFO] [INFO] --- site:3.7:attach-descriptor (attach-descriptor) @ xmpbox --- [INFO] Skipping because packaging 'bundle' is not pom. [INFO] [INFO] --- source:3.0.1:jar-no-fork (attach-sources) @ xmpbox --- [INFO] Skipping source per configuration. [INFO] [INFO] --- apache-rat:0.16.1:check (default) @ xmpbox --- [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 133 licenses. [INFO] [INFO] --- dependency-check:10.0.4:check (default) @ xmpbox --- [INFO] Skipping dependency-check [INFO] [INFO] --- install:2.5.2:install (default-install) @ xmpbox --- [INFO] Installing <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/xmpbox/target/xmpbox-2.0.35-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-SNAPSHOT.jar [INFO] Installing <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/xmpbox/pom.xml> to /home/jenkins/.m2/repository/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-SNAPSHOT.pom [INFO] [INFO] --- bundle:3.5.1:install (default-install) @ xmpbox --- [INFO] Installing org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --- deploy:2.8.2:deploy (default-deploy) @ xmpbox --- [INFO] Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/maven-metadata.xml (782 B at 1.4 kB/s) [INFO] Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-20250915.115149-140.jar [INFO] Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-20250915.115149-140.jar (133 kB at 84 kB/s) [INFO] Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-20250915.115149-140.pom [INFO] Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-20250915.115149-140.pom (4.0 kB at 3.8 kB/s) [INFO] Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/maven-metadata.xml [INFO] Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/maven-metadata.xml (465 B at 2.6 kB/s) [INFO] Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/maven-metadata.xml [INFO] Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/2.0.35-SNAPSHOT/maven-metadata.xml (782 B at 740 B/s) [INFO] Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/maven-metadata.xml [INFO] Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/xmpbox/maven-metadata.xml (465 B at 440 B/s) [INFO] [INFO] --- bundle:3.5.1:deploy (default-deploy) @ xmpbox --- [INFO] Remote OBR update disabled (enable with -DremoteOBR) [INFO] [INFO] ----------------------< org.apache.pdfbox:pdfbox >---------------------- [INFO] Building Apache PDFBox 2.0.35-SNAPSHOT [4/12] [INFO] from pdfbox/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.0.0:clean (default-clean) @ pdfbox --- [INFO] [INFO] --- enforcer:1.4.1:enforce (default) @ pdfbox --- [INFO] [INFO] --- enforcer:1.4.1:enforce (enforce-maven-version) @ pdfbox --- [INFO] [INFO] --- checkstyle:3.6.0:check (check) @ pdfbox --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- remote-resources:1.5:process (process-resource-bundles) @ pdfbox --- [INFO] [INFO] --- resources:3.0.2:resources (default-resources) @ pdfbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 21 resources [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.14.0:compile (default-compile) @ pdfbox --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 611 source files with javac [forked debug deprecation release 6] to target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] [options] source value 6 is obsolete and will be removed in a future release [WARNING] [options] target value 1.6 is obsolete and will be removed in a future release [WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java>:[480,64] [deprecation] toList() in COSArrayList has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java>:[479,46] [deprecation] toList() in COSArrayList has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java>:[201,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/cos/UnmodifiableCOSDictionary.java>:[41,16] [deprecation] mergeInto(COSDictionary) in COSDictionary has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java>:[419,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java>:[421,29] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/TrueTypeEmbedder.java>:[121,18] [deprecation] getUnicodeCmap() in TrueTypeFont has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java>:[439,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java>:[319,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java>:[395,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFont.java>:[379,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java>:[318,17] [deprecation] getHeight(int) in PDFontLike has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/GouraudShadingContext.java>:[66,34] [deprecation] calcPixelTable(Rectangle) in TriangleBasedShadingContext has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/PatchMeshesShadingContext.java>:[65,34] [deprecation] calcPixelTable(Rectangle) in TriangleBasedShadingContext has been deprecated [WARNING] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/text/LegacyPDFStreamEngine.java>:[163,19] [deprecation] showGlyph(Matrix,PDFont,int,String,Vector) in PDFStreamEngine has been deprecated [INFO] 18 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java>:[142,26] error: cannot find symbol symbol: method emptyIterator() location: class Collections [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for pdfbox-reactor 2.0.35-SNAPSHOT: [INFO] [INFO] Apache PDFBox parent ............................... SUCCESS [ 19.161 s] [INFO] Apache FontBox ..................................... SUCCESS [01:05 min] [INFO] Apache XmpBox ...................................... SUCCESS [ 23.743 s] [INFO] Apache PDFBox ...................................... FAILURE [ 20.684 s] [INFO] Apache Preflight ................................... SKIPPED [INFO] Apache Preflight application ....................... SKIPPED [INFO] Apache PDFBox Debugger ............................. SKIPPED [INFO] Apache PDFBox tools ................................ SKIPPED [INFO] Apache PDFBox application .......................... SKIPPED [INFO] Apache PDFBox Debugger application ................. SKIPPED [INFO] Apache PDFBox examples ............................. SKIPPED [INFO] pdfbox-reactor ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:40 min [INFO] Finished at: 2025-09-15T11:54:30Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) on project pdfbox: Compilation failure [ERROR] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java>:[142,26] error: cannot find symbol [ERROR] symbol: method emptyIterator() [ERROR] location: class Collections [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pdfbox [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/xmpbox/pom.xml> to org.apache.pdfbox/xmpbox/2.0.35-SNAPSHOT/xmpbox-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/xmpbox/target/xmpbox-2.0.35-SNAPSHOT.jar> to org.apache.pdfbox/xmpbox/2.0.35-20250915.115149-140/xmpbox-2.0.35-20250915.115149-140.jar [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/tools/pom.xml> to org.apache.pdfbox/pdfbox-tools/2.0.35-SNAPSHOT/pdfbox-tools-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/debugger/pom.xml> to org.apache.pdfbox/pdfbox-debugger/2.0.35-SNAPSHOT/pdfbox-debugger-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/preflight-app/pom.xml> to org.apache.pdfbox/preflight-app/2.0.35-SNAPSHOT/preflight-app-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/app/pom.xml> to org.apache.pdfbox/pdfbox-app/2.0.35-SNAPSHOT/pdfbox-app-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/examples/pom.xml> to org.apache.pdfbox/pdfbox-examples/2.0.35-SNAPSHOT/pdfbox-examples-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/preflight/pom.xml> to org.apache.pdfbox/preflight/2.0.35-SNAPSHOT/preflight-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pom.xml> to org.apache.pdfbox/pdfbox-reactor/2.0.35-SNAPSHOT/pdfbox-reactor-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/parent/pom.xml> to org.apache.pdfbox/pdfbox-parent/2.0.35-SNAPSHOT/pdfbox-parent-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/pdfbox/pom.xml> to org.apache.pdfbox/pdfbox/2.0.35-SNAPSHOT/pdfbox-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/debugger-app/pom.xml> to org.apache.pdfbox/debugger-app/2.0.35-SNAPSHOT/debugger-app-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/fontbox/pom.xml> to org.apache.pdfbox/fontbox/2.0.35-SNAPSHOT/fontbox-2.0.35-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox-2.0.x/ws/fontbox/target/fontbox-2.0.35-SNAPSHOT.jar> to org.apache.pdfbox/fontbox/2.0.35-20250915.115149-142/fontbox-2.0.35-20250915.115149-142.jar No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache PDFBox examples #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. Sending e-mails to: [email protected] No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache PDFBox Debugger application #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache PDFBox tools #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache PDFBox Debugger #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache Preflight application #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache PDFBox application #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » Apache Preflight #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'PDFBox » PDFBox-2.0.x » pdfbox-reactor #1643' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. channel stopped Archiving artifacts --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
