-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b04
JDK-7009069 describes a bug where ZipFile.getEntry does not respect the 'Language encoding' flag, indicating that the entry's name and comment should be decoded using UTF-8 regardless of the charset passed to the ZipFile constructor.
This has later been fixed "accidentally", most probably byJDK-8243469.
While current testing verifies that the iteration use case ZipFile.entries() respects the flag, similar testing does not exists for the lookup case in ZipFile.getEntry.
We should extend the current testing in ZipCodings to also test ZipFile.getEntry. This is also a good opportunity to convert the test to JUnit 5 and make it a parameterized test.
This has later been fixed "accidentally", most probably by
While current testing verifies that the iteration use case ZipFile.entries() respects the flag, similar testing does not exists for the lookup case in ZipFile.getEntry.
We should extend the current testing in ZipCodings to also test ZipFile.getEntry. This is also a good opportunity to convert the test to JUnit 5 and make it a parameterized test.
- relates to
-
JDK-7009069 ZipFile.getEntry(String name) returns null because it does NOT respect the "language encoding flag"
-
- Open
-