You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. Those both sound like useful ideas to me, but I don't have enough design sense for jimfs to say for sure that we'd ultimately accept them, so I don't want to promise anything.
Ah, got it, thanks. I don't personally have a strong opinion. I guess, if you file a new issue, you'll get a second on-call person's eyes on it, so that might not be a bad idea :)
FileSystemProvider#newDirectoryStream does not specify the order of the directory entries in the stream.
Both
sun.nio.fs.LinuxFileSystem
andcom.google.common.jimfs.JimfsFileSystem
seem to return them in alphabetical order.Whereas
sun.nio.fs.MacOSXFileSystem
seemingly returns them in creation time order.JimfsTest.java
macOS
Linux
$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm $ java --version openjdk 21.0.4 2024-07-16 LTS OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing) $ java -cp "guava-32.1.1-jre.jar:jimfs-1.3.0.jar" JimfsTest.java sun.nio.fs.LinuxFileSystem@2d52216b a - 2024-08-20T17:32:38.733978788Z - 2024-08-20T17:32:40.73833389Z b - 2024-08-20T17:32:40.73397506Z - 2024-08-20T17:32:40.73397506Z c - 2024-08-20T17:32:39.733976868Z - 2024-08-20T17:32:39.733976868Z com.google.common.jimfs.JimfsFileSystem@65c7a252 a - 2024-08-20T17:32:40.752Z - 2024-08-20T17:32:42.757084793Z b - 2024-08-20T17:32:42.757Z - 2024-08-20T17:32:42.757Z c - 2024-08-20T17:32:41.755Z - 2024-08-20T17:32:41.755Z com.google.common.jimfs.JimfsFileSystem@5b1669c0 a - 2024-08-20T17:32:42.764Z - 2024-08-20T17:32:44.7660104Z b - 2024-08-20T17:32:44.765Z - 2024-08-20T17:32:44.765Z c - 2024-08-20T17:32:43.764Z - 2024-08-20T17:32:43.764Z com.google.common.jimfs.JimfsFileSystem@470734c3 a - 1970-01-01T00:00:00.005Z - 2024-08-20T17:32:46.771503266Z b - 1970-01-01T00:00:00.009Z - 1970-01-01T00:00:00.009Z c - 1970-01-01T00:00:00.007Z - 1970-01-01T00:00:00.007Z
The text was updated successfully, but these errors were encountered: