Set both the system and bootclasspath filemanager locations
@@ -235,13 +235,12 @@ public class BlazeJavacMain {
if (system != null) {
fileManager.setLocationFromPaths(
StandardLocation.locationFor("SYSTEM_MODULES"), ImmutableList.of(system));
- } else {
+ }
// The bootclasspath may legitimately be empty if --release is being used.
Collection<Path> bootClassPath = arguments.bootClassPath();
if (!bootClassPath.isEmpty()) {
fileManager.setLocationFromPaths(StandardLocation.PLATFORM_CLASS_PATH, bootClassPath);
}
- }
fileManager.setLocationFromPaths(
StandardLocation.ANNOTATION_PROCESSOR_PATH, arguments.processorPath());
if (arguments.sourceOutput() != null) {
