src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/ServerMain.java
Print this page
rev 2819 : imported patch my-classpath-deps-00
@@ -25,19 +25,23 @@
package com.sun.tools.sjavac.server;
import java.io.IOException;
+import com.sun.tools.sjavac.Log;
+
/**
* <p><b>This is NOT part of any supported API.
* If you write code that depends on this, you do so at your own risk.
* This code and its internal interfaces are subject to change or
* deletion without notice.</b>
*/
public class ServerMain {
public static int run(String[] args) {
+ Log.initializeLog(System.out, System.err);
+
// Any options other than --startserver?
if (args.length > 1) {
System.err.println("When spawning a background server, only a single --startserver argument is allowed.");
return 1;
}