@Test public void testGetCurrentDirectory() throws Exception { }
public final synchronized String getCurrentDirectory() { if (this.currentDirectory == null) { if (this.user != null) { this.currentDirectory = FileUtils.normalize(this.user.getHomePath().toString()); } else { this.currentDirectory = System.getProperty("user.dir"); } } return this.currentDirectory; }
KernelThread { public final synchronized String getCurrentDirectory() { if (this.currentDirectory == null) { if (this.user != null) { this.currentDirectory = FileUtils.normalize(this.user.getHomePath().toString()); } else { this.currentDirectory = System.getProperty("user.dir"); } } return this.currentDirectory; } }
KernelThread { public final synchronized String getCurrentDirectory() { if (this.currentDirectory == null) { if (this.user != null) { this.currentDirectory = FileUtils.normalize(this.user.getHomePath().toString()); } else { this.currentDirectory = System.getProperty("user.dir"); } } return this.currentDirectory; } KernelThread(Thread thread); }
KernelThread { public final synchronized String getCurrentDirectory() { if (this.currentDirectory == null) { if (this.user != null) { this.currentDirectory = FileUtils.normalize(this.user.getHomePath().toString()); } else { this.currentDirectory = System.getProperty("user.dir"); } } return this.currentDirectory; } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory); }
KernelThread { public final synchronized String getCurrentDirectory() { if (this.currentDirectory == null) { if (this.user != null) { this.currentDirectory = FileUtils.normalize(this.user.getHomePath().toString()); } else { this.currentDirectory = System.getProperty("user.dir"); } } return this.currentDirectory; } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory);  }