Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,31 +153,31 @@ protected Map<String, byte[]> generate(
.register(FileManagerTransaction.class, FileManagerTransaction.writeThrough())
.register(ProcessorGenerated.class, ProcessorGenerated.create(srcRoot.toURL()));
try {
ClassPath src = ClassPath.getClassPath(srcRoot, ClassPath.SOURCE);
ClassPath src = ClassPath.getClassPath(file, ClassPath.SOURCE);
if (src == null) {
src = ClassPathSupport.createClassPath(srcRoot);
}
ClassPath moduleSrc = ClassPath.getClassPath(srcRoot, JavaClassPathConstants.MODULE_SOURCE_PATH);
ClassPath moduleSrc = ClassPath.getClassPath(file, JavaClassPathConstants.MODULE_SOURCE_PATH);
if (moduleSrc == null) {
moduleSrc = ClassPath.EMPTY;
}
ClassPath boot = ClassPath.getClassPath(srcRoot, ClassPath.BOOT);
ClassPath boot = ClassPath.getClassPath(file, ClassPath.BOOT);
if (boot == null) {
boot = JavaPlatform.getDefault().getBootstrapLibraries();
}
ClassPath moduleBoot = ClassPath.getClassPath(srcRoot, JavaClassPathConstants.MODULE_BOOT_PATH);
ClassPath moduleBoot = ClassPath.getClassPath(file, JavaClassPathConstants.MODULE_BOOT_PATH);
if (moduleBoot == null) {
moduleBoot = ClassPath.EMPTY;
}
ClassPath compile = ClassPath.getClassPath(srcRoot, ClassPath.COMPILE);
ClassPath compile = ClassPath.getClassPath(file, ClassPath.COMPILE);
if (compile == null) {
compile = ClassPath.EMPTY;
}
ClassPath moduleCompile = ClassPath.getClassPath(srcRoot, JavaClassPathConstants.MODULE_COMPILE_PATH);
ClassPath moduleCompile = ClassPath.getClassPath(file, JavaClassPathConstants.MODULE_COMPILE_PATH);
if (moduleCompile == null) {
moduleCompile = ClassPath.EMPTY;
}
ClassPath moduleClass = ClassPath.getClassPath(srcRoot, JavaClassPathConstants.MODULE_CLASS_PATH);
ClassPath moduleClass = ClassPath.getClassPath(file, JavaClassPathConstants.MODULE_CLASS_PATH);
if (moduleClass == null) {
moduleClass = ClassPath.EMPTY;
}
Expand Down
Loading