RFR: 8344415: Restruct jpackage utility classes

Alexey Semenyuk asemenyuk at openjdk.org
Mon Nov 18 18:37:20 UTC 2024


Move child classes of "jdk.jpackage.test.Functional" class to "jdk.jpackage.internal.util.function" package.
Split "jdk.jpackage.internal.IOUtils" class in "PathUtils", "FileUtils", "XmlUtils" classes in "jdk.jpackage.internal.util" package.

Implmenetation didnt change except of `FileUtils.deleteRecursive()` that was cleared from the dependency on "AtomicReference".

Applied `bin/blessed-modifier-order.sh` script to the modified files.

-------------

Commit messages:
 - Bugfix
 - Merge bugfix
 - Copyright year fixed
 - Copyright fixed
 - Bugfix
 - Fix bad merge
 - Bugfix
 - Merge branch 'master' into SplitIOUtils
 - Added missing ThrowingBiConsumer class
 - Revert "Get rid of FunctionalUtils.java". Brings back Functional.java to make the diff easier to digest. It will be replaced with redoing c58b6587b3b4fb9c08afd27eacf139e0ed9afb83 commit in the next PR.
 - ... and 7 more: https://git.openjdk.org/jdk/compare/e1c4b497...dbb96904

Changes: https://git.openjdk.org/jdk/pull/22216/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22216&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344415
  Stats: 1431 lines in 67 files changed: 860 ins; 417 del; 154 mod
  Patch: https://git.openjdk.org/jdk/pull/22216.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22216/head:pull/22216

PR: https://git.openjdk.org/jdk/pull/22216


More information about the core-libs-dev mailing list