Revision: 829
          http://jwebunit.svn.sourceforge.net/jwebunit/?rev=829&view=rev
Author:   jevonwright
Date:     2010-03-17 00:25:09 +0000 (Wed, 17 Mar 2010)

Log Message:
-----------
patching up a memory leak when using customTester

Modified Paths:
--------------
    trunk/jwebunit-webtestcase-generator/src/main/javacc/Java1.5.jj

Modified: trunk/jwebunit-webtestcase-generator/src/main/javacc/Java1.5.jj
===================================================================
--- trunk/jwebunit-webtestcase-generator/src/main/javacc/Java1.5.jj     
2010-03-15 22:57:34 UTC (rev 828)
+++ trunk/jwebunit-webtestcase-generator/src/main/javacc/Java1.5.jj     
2010-03-17 00:25:09 UTC (rev 829)
@@ -712,7 +712,7 @@
   sb.append("     * not an option for this requires the subclasses of this 
class to call the\n");
   sb.append("     * respective <tt>super</tt> methods.\n");
   sb.append("     *\n");
-  sb.append("     * Original patch contributed by Budi Boentaran.\n");
+  sb.append("     * <p>Original patch contributed by Budi Boentaran.\n");
   sb.append("     */\n");
   sb.append("    public void runBare() throws Throwable {\n");
   sb.append("        try {\n");
@@ -723,6 +723,7 @@
   sb.append("            super.runBare();\n");
   sb.append("        } finally {\n");
   sb.append("            tester = null;\n");
+  sb.append("            customTester = null;\n");
   sb.append("        }\n");
   sb.append("    }\n\n");}
   "{" ( ClassOrInterfaceBodyDeclaration(isInterface, sb) )* "}"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to