Skip to content

Draft: fixes ISSUE-47007: Update commons-io from 2.4 to 2.9.0

Upgrade the library to its latest available version

Upstream change:

  • 2.5 + 2.6 declare explicitely binary + source compatible
  • Raise min java version to 8 (since 2.8.0
  • New dependency commons-collections (we have it already at 3.2.2)
  • ResultSetIterator now implements Iterator>DynaBean>
  • Size increase 181kb to 318kb
  • Several new deprecations which require cleanup in code / modules
    • IOUtils.toString(InputStream)
    • FileUtils.readFileToString
    • Note probably those are bugs today as they rely on system 'default encoding' which is not UTF-8 (yet) i.e. running on windows
    • Total count of those in mod-merged is 28 (see attachments to issue 47001)

Used by:

  • commons-fileupload
  • quite a number of java source files (in backoffice + quite a few modules)

TODO

Edited by Stefan Huehner

Merge request reports

Loading