RFR: 8250950: Allow per-user and system wide configuration of a jpackaged app

Alexey Semenyuk asemenyuk at openjdk.java.net
Sat Jun 4 15:19:26 UTC 2022


On Sat, 4 Jun 2022 01:45:21 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

>> 8250950: Allow per-user and system wide configuration of a jpackaged app
>
> test/jdk/tools/jpackage/share/PerUserCfgTest.java line 174:
> 
>> 172:             action.accept(cmd);
>> 173:         } finally {
>> 174:             Files.deleteIfExists(targetCfgFile);
> 
> Should we delete parent directory as well?

Correct. We should delete all directories that got created in the preceding `Files.createDirectories()` call. Will fix this.

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

PR: https://git.openjdk.java.net/jdk/pull/9025


More information about the core-libs-dev mailing list