7096170: should remove unused support for enabling javac logging
Reviewed-by: jjg
This commit is contained in:
parent
dd031ed38f
commit
bb40243d1a
@ -1743,13 +1743,4 @@ public class JavaCompiler {
|
||||
shouldStopPolicyIfError = prev.shouldStopPolicyIfError;
|
||||
shouldStopPolicyIfNoError = prev.shouldStopPolicyIfNoError;
|
||||
}
|
||||
|
||||
public static void enableLogging() {
|
||||
Logger logger = Logger.getLogger(com.sun.tools.javac.Main.class.getPackage().getName());
|
||||
logger.setLevel(Level.ALL);
|
||||
for (Handler h : logger.getParent().getHandlers()) {
|
||||
h.setLevel(Level.ALL);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user