mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java9: avoid loading sources from classpath when compiling in older "moduleless" mode (IDEA-181115)
This commit is contained in:
@@ -141,7 +141,7 @@ public class JavacMain {
|
||||
}
|
||||
}
|
||||
|
||||
if (javacBefore9 || !sourcePath.isEmpty()) {
|
||||
if (javacBefore9 || !sourcePath.isEmpty() || modulePath.isEmpty()) {
|
||||
try {
|
||||
// ensure the source path is set;
|
||||
// otherwise, if not set, javac attempts to search both classes and sources in classpath;
|
||||
|
||||
Reference in New Issue
Block a user