RFR: 8290313: Produce warning when user specified java.io.tmpdir directory doesn't exist [v4]
Weibing Xiao
duke at openjdk.org
Fri Oct 14 19:30:53 UTC 2022
On Fri, 14 Oct 2022 19:25:54 GMT, Weibing Xiao <duke at openjdk.org> wrote:
>> 8290313: Produce warning when user specified java.io.tmpdir directory doesn't exist
>
> Weibing Xiao has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
>
> - Merge branch 'master' into improve-directory-not-existing-error-message
> - new approach: print warning in StaticProperty.java
> - Merge branch 'master' into improve-directory-not-existing-error-message
> - add the change for nio and update the code according to the comments
> - new approach
> - change based on the review
> - updating according to the comments
> - Merge branch 'master' of https://github.com/openjdk/jdk into improve-directory-not-existing-error-message
> - update error message
> - error message for non-existing directory
> - ... and 1 more: https://git.openjdk.org/jdk/compare/8487c56f...2da71bdc
New approach,
1) Print warning message inside StaticProperty.java when JVM start
2) Remove the print-out inside TempFileHelper.java and File.java
3) Keep one test file as TempDirectoryNotExisting
4) The order of the code was changed in System.java since StaticProperty.java needs "out print-stream" to be initialized before using it to print a warning message.
-------------
PR: https://git.openjdk.org/jdk/pull/9989
More information about the core-libs-dev
mailing list