On Sun, 6 Feb 2022 11:54:14 GMT, Jay Bhaskar <d...@openjdk.java.net> wrote:

>> No, it's not OK for two reasons:
>> 
>> 1. It prevents concurrent execution of tests from two different directories
>> 2. The Java temp directory might be something other than "/tmp" on some 
>> systems.
>> 
>> Best is to use a local subdir under the build directory.
>
> i am unable to find other test case which uses local sub-directory  in the 
> build dir so let me know i can use this
>         String defaultBaseDir = System.getProperty("java.io.tmpdir");
>         webEngine.setUserDataDirectory(new File(defaultBaseDir + 
> "localstorage")

I have updated your suggestions and used local dir for setUserDataDirectory

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

PR: https://git.openjdk.java.net/jfx/pull/703

Reply via email to