Issue #8923 - Align FileID.getExtension with JDK20 behaviors

This commit is contained in:
Joakim Erdfelt 2022-11-21 15:35:06 -06:00
parent dbb3bd8d73
commit 2c1acc1c7f
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ public class FileIDTest
Arguments.of("foo.jar", "jar"),
Arguments.of("FOO.WAR", "war"),
Arguments.of("Foo.Zip", "zip"),
// From JDK 20
// From JDK 20 examples
Arguments.of("foo.tar.gz", "gz"),
Arguments.of("foo.bar", "bar"),
Arguments.of("foo.", ""),