mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-142891 Ignore SLF4J output from Groovy compiler
This commit is contained in:
+5
-1
@@ -69,7 +69,7 @@ public class GroovycOutputParser {
|
||||
return;
|
||||
}
|
||||
|
||||
if (outputType == ProcessOutputTypes.STDERR && !text.startsWith("Picked up JAVA_TOOL_OPTIONS")) {
|
||||
if (outputType == ProcessOutputTypes.STDERR && !isSafeStderr(text)) {
|
||||
stdErr.append(StringUtil.convertLineSeparators(text));
|
||||
return;
|
||||
}
|
||||
@@ -78,6 +78,10 @@ public class GroovycOutputParser {
|
||||
parseOutput(text);
|
||||
}
|
||||
|
||||
private static boolean isSafeStderr(String line) {
|
||||
return line.startsWith("SLF4J:") || line.startsWith("Picked up JAVA_TOOL_OPTIONS");
|
||||
}
|
||||
|
||||
private final StringBuffer outputBuffer = new StringBuffer();
|
||||
|
||||
private void updateStatus(@NotNull String status) {
|
||||
|
||||
Reference in New Issue
Block a user