"unsafe" instances in sun.nio.fs.WindowsFileSystem

Brian Burkhalter brian.burkhalter at oracle.com
Wed Apr 19 14:37:47 UTC 2017


[Looping in nio-dev]

I can file an issue and look into it.

Brian

On Apr 18, 2017, at 11:44 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 19/04/2017 05:44, Chan, Sunny wrote:
> 
>> While reading the code for sun.nio.fs.WindowsFileSystemProvider and sun.nio.fs.WindowsUserDefinedFileAttributeView, I noticed that there is a private static variable to the Unsafe instance but it doesn't seems to be used anywhere in the code - am I missing something here or should I propose a patch to remove them?
>> 
> I suspect these are left over from past refactoring and shouldn't be an issue removing them.
> 
> -Alan



More information about the nio-dev mailing list