Re: Always false condition in 'java.nio.file.FileSystem#getPathMatcher implementations

2022-04-08 Thread Alan Bateman
On 08/04/2022 07:27, Andrey Turbanov wrote: Hello. I found suspicious check in all 4 JDK implementations of java.nio.file.FileSystem#getPathMatcher https://github.com/openjdk/jdk/blob/8c1870521815a24fd12480e73450c2201542a442/src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java#L178

Always false condition in 'java.nio.file.FileSystem#getPathMatcher implementations

2022-04-07 Thread Andrey Turbanov
Hello. I found suspicious check in all 4 JDK implementations of java.nio.file.FileSystem#getPathMatcher https://github.com/openjdk/jdk/blob/8c1870521815a24fd12480e73450c2201542a442/src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java#L178 https://github.com/openjdk/jdk/blob/8c18705218