mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8211728: JarFile::versionedStream() does not filter META-INF resources in versioned stream
Reviewed-by: alanb
This commit is contained in:
parent
85c6642e38
commit
859d376494
2 changed files with 10 additions and 3 deletions
|
@ -556,7 +556,8 @@ class JarFile extends ZipFile {
|
|||
return JUZFA.entryNameStream(this).map(this::getBasename)
|
||||
.filter(Objects::nonNull)
|
||||
.distinct()
|
||||
.map(this::getJarEntry);
|
||||
.map(this::getJarEntry)
|
||||
.filter(Objects::nonNull);
|
||||
}
|
||||
return stream();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue