tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r399406 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
Date Wed, 03 May 2006 20:26:55 GMT
Author: remm
Date: Wed May  3 13:26:35 2006
New Revision: 399406

URL: http://svn.apache.org/viewcvs?rev=399406&view=rev
Log:
- Injection should occur before the setters (BTW, since simple tags are not pooled, performance
  will be bad; most likely some sort of caching is needed).

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?rev=399406&r1=399405&r2=399406&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Wed May  3 13:26:35
2006
@@ -2369,13 +2369,13 @@
             out.print(tagHandlerClassName);
             out.println("();");
 
-            generateSetters(n, tagHandlerVar, handlerInfo, true);
-
             // Resource injection
             out.printin("org.apache.jasper.runtime.AnnotationProcessor.postConstruct(");
             out.print(tagHandlerVar);
             out.println(");");
             
+            generateSetters(n, tagHandlerVar, handlerInfo, true);
+
             // Set the body
             if (findJspBody(n) == null) {
                 /*



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message