git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270560 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -34,7 +34,7 @@ public class Javac12 extends DefaultCompilerAdapter | |||||
| getLogger().debug( "Using classic compiler" ); | getLogger().debug( "Using classic compiler" ); | ||||
| Commandline cmd = setupJavacCommand( true ); | Commandline cmd = setupJavacCommand( true ); | ||||
| OutputStream logstr = new LogOutputStream( m_attributes.hackGetLogger(), true ); | |||||
| OutputStream logstr = new LogOutputStream( getLogger(), true ); | |||||
| try | try | ||||
| { | { | ||||
| // Create an instance of the compiler, redirecting output to | // Create an instance of the compiler, redirecting output to | ||||
| @@ -31,9 +31,7 @@ public class SunRmic extends DefaultRmicAdapter | |||||
| // Create an instance of the rmic, redirecting output to | // Create an instance of the rmic, redirecting output to | ||||
| // the project log | // the project log | ||||
| LogOutputStream logstr = | |||||
| new LogOutputStream( getRmic().hackGetLogger(), true ); | |||||
| final LogOutputStream logstr = new LogOutputStream( getLogger(), true ); | |||||
| try | try | ||||
| { | { | ||||
| Class c = Class.forName( "sun.rmi.rmic.Main" ); | Class c = Class.forName( "sun.rmi.rmic.Main" ); | ||||
| @@ -34,7 +34,7 @@ public class Javac12 extends DefaultCompilerAdapter | |||||
| getLogger().debug( "Using classic compiler" ); | getLogger().debug( "Using classic compiler" ); | ||||
| Commandline cmd = setupJavacCommand( true ); | Commandline cmd = setupJavacCommand( true ); | ||||
| OutputStream logstr = new LogOutputStream( m_attributes.hackGetLogger(), true ); | |||||
| OutputStream logstr = new LogOutputStream( getLogger(), true ); | |||||
| try | try | ||||
| { | { | ||||
| // Create an instance of the compiler, redirecting output to | // Create an instance of the compiler, redirecting output to | ||||
| @@ -31,9 +31,7 @@ public class SunRmic extends DefaultRmicAdapter | |||||
| // Create an instance of the rmic, redirecting output to | // Create an instance of the rmic, redirecting output to | ||||
| // the project log | // the project log | ||||
| LogOutputStream logstr = | |||||
| new LogOutputStream( getRmic().hackGetLogger(), true ); | |||||
| final LogOutputStream logstr = new LogOutputStream( getLogger(), true ); | |||||
| try | try | ||||
| { | { | ||||
| Class c = Class.forName( "sun.rmi.rmic.Main" ); | Class c = Class.forName( "sun.rmi.rmic.Main" ); | ||||