On Thu, 23 Nov 2023 11:01:44 GMT, Alexey Ivanov <[email protected]> wrote:
>>> How does it fail? Is it because `System.getProperty(".")` returns `null`?
>>> The property `"."` doesn't exist, does it?
>>
>> No, temp files and directories are created in `scratch` directory. But the
>> files gets deselected after selection which returns as no file selected and
>> test failed.
>
>> But the files gets deselected after selection which returns as no file
>> selected and test failed.
>
> How is it? It sounds like magic… The working directory shouldn't matter; if
> it does, the test isn't as stable as it should be.
Surprise to me also. It failed every single time when temporary files are
created in `scratch`.
>The test isn't as stable as it should be.
Unable to trace what is missing in the test.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16674#discussion_r1403282851