File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
if err == 0
15
15
i = s .dev ;
16
16
end
17
- elseif isunix() && stdlib .has_java() && stdlib . java_api() >= 11
17
+ elseif isunix() && stdlib .java_api() >= 11
18
18
% Java 1.8 is buggy in some corner cases, so we require at least 11.
19
19
i = java .nio .file .Files .getAttribute(javaPathObject(path ), " unix:dev" , javaLinkOption());
20
20
end
Original file line number Diff line number Diff line change 17
17
if err == 0
18
18
c = s .nlink ;
19
19
end
20
- elseif isunix() && stdlib .has_java()
20
+ elseif isunix()
21
21
c = java .nio .file .Files .getAttribute(javaPathObject(p ), " unix:nlink" , javaLinkOption());
22
22
end
23
23
Original file line number Diff line number Diff line change 28
28
y = e1 == 0 && e2 == 0 && ...
29
29
r1.ino == r2 .ino && r1 .dev == r2 .dev ;
30
30
31
- elseif stdlib .has_java() && stdlib . java_api() >= 11
31
+ elseif stdlib .java_api() >= 11
32
32
% https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/nio/file/Files.html#isSameFile(java.nio.file.Path,java.nio.file.Path)
33
33
% Java 1.8 is buggy in some corner cases, so we require at least 11.
34
34
y = java .nio .file .Files .isSameFile(javaPathObject(path1 ), javaPathObject(path2 ));
You can’t perform that action at this time.
0 commit comments