On Sun, 27 Feb 2022 05:25:25 GMT, Jay Bhaskar <d...@openjdk.java.net> wrote:

>> modules/javafx.web/src/test/java/test/javafx/scene/web/LocalStorageTest.java 
>> line 55:
>> 
>>> 53: 
>>> 54:     private static final File LOCAL_STORAGE_DIR = new 
>>> File("LocalStorageDir");
>>> 55:     private static final File PRE_LOCKED = new 
>>> File("zoo_local_storage");
>> 
>> This looks like a copy / paste from `UserDataDirectoryTest`, and is unused 
>> (and not needed) in this test.
>
> LOCAL_STORAGE_DIR is used by web engine , to store local data in this case

private static final File LOCAL_STORAGE_DIR = new File("LocalStorageDir");  is 
required, and i agree
    not require for private static final File PRE_LOCKED = new 
File("zoo_local_storage");

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

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

Reply via email to