tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51195] "Find leaks" reports a false positive memory/classloader leak
Date Thu, 19 May 2011 17:19:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51195

--- Comment #4 from Joern Huxhorn <jhuxhorn@googlemail.com> 2011-05-19 17:19:01 UTC
---
Created attachment 27038
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27038
Implements the suggested change in StandardHost

This patch against trunk implements the suggested changes.
The code is purely my own work, apply any license you like.

Unfortunately, I was unable to perform an "ant release" build due to unrelated
issues so I couldn't test this myself.

I got the following build error:
compile-non-log4j:
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/build2.xml:359:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 11 source files to
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/target/classes
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/src/java/org/apache/juli/logging/impl/ServletContextCleaner.java:24:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletContextEvent;
    [javac]                     ^
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/src/java/org/apache/juli/logging/impl/ServletContextCleaner.java:25:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletContextListener;
    [javac]                     ^
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/src/java/org/apache/juli/logging/impl/ServletContextCleaner.java:52:
cannot find symbol
    [javac] symbol: class ServletContextListener
    [javac] public class ServletContextCleaner implements
ServletContextListener {
    [javac]                                               ^
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/src/java/org/apache/juli/logging/impl/ServletContextCleaner.java:61:
cannot find symbol
    [javac] symbol  : class ServletContextEvent
    [javac] location: class org.apache.juli.logging.impl.ServletContextCleaner
    [javac]     public void contextDestroyed(ServletContextEvent sce) {
    [javac]                                  ^
    [javac]
[snip]/tomcat-trunk/output/extras/logging/commons-logging-1.1.1-src/src/java/org/apache/juli/logging/impl/ServletContextCleaner.java:135:
cannot find symbol
    [javac] symbol  : class ServletContextEvent
    [javac] location: class org.apache.juli.logging.impl.ServletContextCleaner
    [javac]     public void contextInitialized(ServletContextEvent sce) {
    [javac]                                    ^
    [javac] 5 errors

BUILD FAILED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message