Re: ZipFileStore#supportsFileAttributeView(String) doesn't throw NPE

2023-01-10 Thread Andrey Turbanov
Filled https://bugs.openjdk.org/browse/JDK-8299864 Andrey Turbanov вт, 10 янв. 2023 г. в 13:24, Alan Bateman : > > > > On 10/01/2023 09:35, Andrey Turbanov wrote: > > Hello. > > I've noticed that ZipFileStore#supportsFileAttributeView(String) > > doesn't throw NullPointerException when 'null' is

Re: ZipFileStore#supportsFileAttributeView(String) doesn't throw NPE

2023-01-10 Thread Alan Bateman
On 10/01/2023 09:35, Andrey Turbanov wrote: Hello. I've noticed that ZipFileStore#supportsFileAttributeView(String) doesn't throw NullPointerException when 'null' is passed as an argument. public boolean supportsFileAttributeView(String name) { return "basic".equals(name) || "zip".equals