mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-28 16:50:10 +00:00
inline the map
This commit is contained in:
parent
35b8cbc776
commit
ead4dbfbe8
@ -598,9 +598,8 @@ public class ZipFSTester {
|
||||
.getFileAttributeView(jar, BasicFileAttributeView.class)
|
||||
.readAttributes();
|
||||
// create a new filesystem, copy this file into it
|
||||
var env = Map.of("create", "true");
|
||||
Path fsPath = getTempPath();
|
||||
try (FileSystem fs = FileSystems.newFileSystem(fsPath, env)) {
|
||||
try (FileSystem fs = FileSystems.newFileSystem(fsPath, Map.of("create", "true"))) {
|
||||
System.out.println("test copy with timestamps...");
|
||||
// copyin
|
||||
Path dst = fs.getPath("me");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user