mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Error Prone plugin: support Java 9 (IDEA-186848)
This commit is contained in:
@@ -18,9 +18,10 @@ package org.jetbrains.jps.builders.java;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.tools.JavaCompiler;
|
||||
import javax.tools.*;
|
||||
import java.io.File;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -47,4 +48,10 @@ public abstract class JavaCompilingTool {
|
||||
public List<String> getDefaultCompilerOptions() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this method to modify the options list before they are passed to {@link JavaFileManager#handleOption(String, Iterator)}.
|
||||
*/
|
||||
public void preprocessOptions(List<String> options) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -282,6 +282,7 @@ public class JavacMain {
|
||||
}
|
||||
skip = false;
|
||||
}
|
||||
compilingTool.preprocessOptions(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user