< prev index next > src/java.base/share/classes/jdk/internal/jrtfs/SystemImage.java
Print this page
if (Files.notExists(explodedModulesDir))
throw new FileSystemNotFoundException(explodedModulesDir.toString());
return new ExplodedImage(explodedModulesDir);
}
! static final String RUNTIME_HOME;
// "modules" jimage file Path
! static final Path moduleImageFile;
// "modules" jimage exists or not?
! static final boolean modulesImageExists;
// <JAVA_HOME>/modules directory Path
! static final Path explodedModulesDir;
static {
PrivilegedAction<String> pa = SystemImage::findHome;
RUNTIME_HOME = AccessController.doPrivileged(pa);
if (Files.notExists(explodedModulesDir))
throw new FileSystemNotFoundException(explodedModulesDir.toString());
return new ExplodedImage(explodedModulesDir);
}
! private static final String RUNTIME_HOME;
// "modules" jimage file Path
! private static final Path moduleImageFile;
// "modules" jimage exists or not?
! private static final boolean modulesImageExists;
// <JAVA_HOME>/modules directory Path
! private static final Path explodedModulesDir;
static {
PrivilegedAction<String> pa = SystemImage::findHome;
RUNTIME_HOME = AccessController.doPrivileged(pa);
< prev index next >