On Thu, 20 Feb 2025 17:19:56 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
>> src/java.base/share/classes/java/io/File.java line 254: >> >>> 252: static File getCWD() { >>> 253: return CWD; >>> 254: } >> >> This is a bit icky, have you looked at pushing this down to a holder class >> in UnixFileSystem and WinNTFileSystem so they they aren't dependent on this. > > Why not just down into `FileSystem`? It's not OS-dependent. That would be okay too, just need to avoid circular initialization. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22821#discussion_r1964048936