GitHub user kaspersorensen opened a pull request:
https://github.com/apache/metamodel/pull/194
METAMODEL-1205: JDK >8 support in core and excel (with POI v 4.0.0)
This is a step along the way to get to resolution of METAMODEL-1205
(supporting builds on JDKs > 8).
The main change in this PR is that I upgraded Apache POI to version 4.0.0.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kaspersorensen/metamodel
METAMODEL-1205-core-and-excel
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metamodel/pull/194.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #194
----
commit e93f1e9070d9ad23f50143a83d5ee6083a3ab578
Author: Kasper Sørensen <i.am.kasper.sorensen@...>
Date: 2018-11-23T15:54:25Z
METAMODEL-1205: Fixed assertion that depends on JDK's exception msg
commit e3b3b9ca240e462fa80c4ccf28175ce8e81f7c11
Author: Kasper Sørensen <i.am.kasper.sorensen@...>
Date: 2018-11-23T16:08:39Z
METAMODEL-1205: Upgraded Apache POI to have JDK >8 support
commit faa0f88caa30563d1d46ddecd01e8819f3daffb6
Author: Kasper Sørensen <i.am.kasper.sorensen@...>
Date: 2018-11-23T16:38:18Z
METAMODEL-1205: Fixed changes after POI upgraded to version 4.0.0
I ran into an issue that reminded me of what we saw some time back [1]
with writing to a file-based workbook failing with message "user-mapped
section open". I found a reasonable workaround where workbooks are being
loaded based on their InputStream rather than their File reference
whenever we access the workbook in an update callback.
[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=58480
----
---