fixes #191 - downgraded patch to Java 8 compliance

This commit is contained in:
tw
2025-02-05 22:44:27 +01:00
parent 803fc4a188
commit 110a0da37b

View File

@@ -839,7 +839,7 @@ public class DiffRowGeneratorTest {
@Test
public void testIssue188HangOnExamples() throws IOException, URISyntaxException {
try (FileSystem zipFs = FileSystems.newFileSystem(Paths.get("target/test-classes/com/github/difflib/text/test.zip"), null);) {
try (FileSystem zipFs = FileSystems.newFileSystem(Paths.get("target/test-classes/com/github/difflib/text/test.zip"), (ClassLoader) null);) {
List<String> original = Files.readAllLines(zipFs.getPath("old.html"));
List<String> revised = Files.readAllLines(zipFs.getPath("new.html"));