Search code examples
javajava-native-interfacefilesystems

JVM Implementation of FileSystem.list


I'm looking for the JVM implementation of the Java JNI call for FileSystem.list()

I already grepped through the JVM sources (http://hg.openjdk.java.net/jdk7/jdk7/hotspot/), but didn't find anything.

Can anyone show me the location of the implementation?


Solution

  • You were looking in the hotspot directory.

    The JNI implementation is under the JDK directory, e.g. the Windows implementation is here, in files Win32FileSystem_md.c and WinNTFileSystem_md.c