Commit Graph

11520 Commits

Author SHA1 Message Date
Dominik Stadler 21039bd2b1 Some more changes for early support for JDK 18
Adjust one test which fails with JDK 18 because of
remove SecurityManager
Adjust excludes for JaCoCo as it does not run on JDK 18 otherwise
Adjust some JPMS settings which are not available any more on JDK 18

Some other things do not work yet, e.g. spotbugs

Also print out if CIBuild is selected
Only run signing if actually publishing to avoid failures
if signing key is defined locally

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895626 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 15:00:06 +00:00
Dominik Stadler 2d347b5a61 Fix forbidden-api violation for using wrong logger
Why did this not fail already earlier as
both the code and the forbidden-api are in place
for quite some time already?

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895625 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:45 +00:00
Dominik Stadler 97abbdd6ab Close some streams/workbooks properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895624 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:18 +00:00
PJ Fanning 811d4faf7b add broken test (xlookup)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895623 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 13:39:57 +00:00
PJ Fanning 6290a5ed24 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895622 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 13:05:08 +00:00
PJ Fanning c84888490f spotbugs 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895621 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 12:50:47 +00:00
PJ Fanning e52e874d28 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895619 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 12:02:24 +00:00
PJ Fanning 399280c79e add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895618 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 11:54:38 +00:00
PJ Fanning 3e3bdd1328 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895615 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:37:08 +00:00
PJ Fanning 50bab16ece add xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895613 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:10:16 +00:00
PJ Fanning 80d4b8bd32 add initial version of XMATCH
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895608 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 00:32:45 +00:00
PJ Fanning c0681f0ca6 add initial version of XMATCH
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895607 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:52:49 +00:00
PJ Fanning 0a66fe284b initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895606 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:25:31 +00:00
PJ Fanning f6e5e5f1c5 initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895605 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:41:01 +00:00
PJ Fanning 6ca520e32d initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895604 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:26:30 +00:00
PJ Fanning 7e240d41f1 initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895603 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:03:21 +00:00
PJ Fanning c390436c9a fix broken xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895602 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 18:54:58 +00:00
Dominik Stadler a60f552c59 Remove some more from the Ant Build to try to keep POI-DSL-old-Xerces working for now
We can also switch it to Gradle soon, but let's keep a bit of Ant build a bit longer

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895601 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:58 +00:00
Dominik Stadler 1e9efb5562 Fix issues found when fuzzing Apache POI via Jazzer
Add some null-checks and report more meaningful exceptions
This provides a bit more information than simple NullPointExceptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895600 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:44 +00:00
Dominik Stadler f0e7cc0881 Fix issues found when fuzzing Apache POI via Jazzer
Check for negative array allocation size or access and report a more meaningful exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895599 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:19 +00:00
Dominik Stadler 0210af791e Fix issues found when fuzzing Apache POI via Jazzer
Catch and handle a possible NullPointerException in commons-compress
We can handle this gracefully for now and can remove this again
when commons-compress is fixed, see isse COMPRESS-598

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895598 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:34:16 +00:00
Dominik Stadler 3ef9605d29 Fix issues found when fuzzing Apache POI via Jazzer
Fix IOUtils.safelyClone to prevent overly large allocations
properly also when length is larger than src.length
Throw an exception instead of an assertion which hides
invalid usage in production builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895597 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:58 +00:00
Dominik Stadler d5538d24d8 Apply IDE suggestions, adjust tests, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895596 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:39 +00:00
PJ Fanning a3967026a3 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895595 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 11:14:42 +00:00
PJ Fanning 7f4378bda0 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895594 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 09:50:06 +00:00
PJ Fanning 7314afd6e5 refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895568 13f79535-47bb-0310-9956-ffa450edef68
2021-12-04 08:53:29 +00:00
PJ Fanning 7e00f3594a upgrade byte-buddy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895549 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:48:31 +00:00
PJ Fanning 10cd7dc8ed add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895548 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:27:40 +00:00
PJ Fanning f33217b9e4 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:16:30 +00:00
PJ Fanning 37573b3b4e refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895546 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:08:50 +00:00
PJ Fanning 51d563c250 refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895542 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 09:58:40 +00:00
PJ Fanning db3db9af32 refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895540 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 09:34:29 +00:00
PJ Fanning 75f910ace6 [github-243] basic version of XLookup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895500 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 19:40:42 +00:00
PJ Fanning c8a3870064 [github-243] basic version of XLookup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895499 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 19:10:14 +00:00
PJ Fanning 27d837067f jdk 1.18 build just once a week
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895489 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 13:45:50 +00:00
PJ Fanning f713f551ad [bug-65718] Charts imported without blip fills
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895487 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 10:10:17 +00:00
PJ Fanning 7963866c6f typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895486 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 09:38:03 +00:00
PJ Fanning bbd5645d87 undo * import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895477 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 20:05:32 +00:00
PJ Fanning 8538a7ee76 add /* ====================================================================
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895476 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 19:26:11 +00:00
PJ Fanning 02e9a7bdb4 bouncycastle 1.70
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895462 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 12:53:48 +00:00
PJ Fanning a18a52316a remove unfinished test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895458 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:58:22 +00:00
PJ Fanning 6c3fe307f5 fix merge issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895457 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:57:10 +00:00
PJ Fanning c8d61cbfe3 code formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895454 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:49:25 +00:00
PJ Fanning add71cb80a spelling of embedded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:33:25 +00:00
PJ Fanning 43438ee6ef [bug-65715] fix bug in getDrawingPatriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895447 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 08:49:03 +00:00
PJ Fanning 74997afe6a update test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895423 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 10:11:41 +00:00
Dominik Stadler 0bcaa5789e Also set version 5.2.0 in osgi/pom.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895418 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:20:01 +00:00
Dominik Stadler 8e4cd8ce8c Remove some ant-targets related to installation/osgi which do not work any more anyway
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895417 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:59 +00:00
Dominik Stadler 5f75bf0f81 Jenkins DSL: Increase timeout to 300 seconds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895416 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:56 +00:00
Dominik Stadler ac3e5deb87 Add JDK 18, do not run CI for JDK 12 - 16 any more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895415 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:53 +00:00