Change log output not to output errors

This commit is contained in:
Andreas Stadelmeier 2024-12-21 19:12:44 +01:00
parent 3fe35f6476
commit bf2505685f
2 changed files with 3 additions and 4 deletions

View File

@ -201,7 +201,7 @@ public class BasicJavacTask extends JavacTask {
PlatformDescription platformProvider = context.get(PlatformDescription.class);
//ANDI: Init our own plugin to count CC's
initPlugin(new WildcardFinderPlugin((s -> Log.instance(context).printRawLines(s))));
initPlugin(new WildcardFinderPlugin((s -> Log.instance(context).printRawLines(Log.WriterKind.NOTICE,s))));
if (platformProvider != null) {
for (PluginInfo<Plugin> pluginDesc : platformProvider.getPlugins()) {
java.util.List<String> options =

View File

@ -1,10 +1,9 @@
package com.sun.tools.javac.api;
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.tree.MemberSelectTree;
import com.sun.source.tree.MethodInvocationTree;
import com.sun.source.tree.*;
import com.sun.source.util.*;
import javax.tools.JavaFileObject;
import java.io.IOException;
import java.util.function.Consumer;