test/tools/sjavac/SjavacBase.java

Print this page
rev 2819 : imported patch my-classpath-deps-00

@@ -35,11 +35,11 @@
      * (which are turned into Strings through Object::toString) to allow clients
      * to pass for instance Path objects.
      */
     public static int compile(Object... args) throws ReflectiveOperationException {
         // Use reflection to avoid a compile-time dependency on sjavac Main
-        System.err.println("compile: " + Arrays.toString(args));
+        System.out.println("compile: " + Arrays.toString(args));
         Class<?> c = Class.forName("com.sun.tools.sjavac.Main");
         Method m = c.getDeclaredMethod("go", String[].class);
         String[] strArgs = new String[args.length];
         for (int i = 0; i < args.length; i++)
             strArgs[i] = args[i].toString();