nyx/tests/dynamic_fixtures/java/fileio_unsupported.java

14 lines
348 B
Java
Raw Normal View History

2026-06-05 10:16:30 -05:00
// File I/O — unsupported fixture.
// Entry is an instance method; test sets confidence = Low.
// Expected verdict: Unsupported
import java.io.*;
import java.nio.file.*;
public class Entry {
public void serve(String path) throws Exception {
byte[] data = Files.readAllBytes(Paths.get(path));
System.out.write(data);
}
}