Author: ebourg
Date: Wed Apr 4 21:44:31 2018
New Revision: 1828385
URL: http://svn.apache.org/viewvc?rev=1828385&view=rev
Log:
No longer set the 'optimize' option when compiling the JSPs with Ant (ignored
since Java 1.3)
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java?rev=1828385&r1=1828384&r2=1828385&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java Wed Apr 4
21:44:31 2018
@@ -197,7 +197,6 @@ public class AntCompiler extends Compile
javac.setDebug(ctxt.getOptions().getClassDebugInfo());
javac.setSrcdir(srcPath);
javac.setTempdir(options.getScratchDir());
- javac.setOptimize(! ctxt.getOptions().getClassDebugInfo() );
javac.setFork(ctxt.getOptions().getFork());
info.append(" srcDir=" + srcPath + "\n" );
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]