import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
-import java.security.Policy;
import javax.imageio.ImageIO;
+import javax.security.auth.Policy;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
* first disabling Jar URL connection caching. The workaround is to disable this
* caching by default.
*/
+@SuppressWarnings("deprecation")
public class JreMemoryLeakPreventionListener implements LifecycleListener {
private static final Log log =
<subsection name="Catalina">
<changelog>
<fix>
+ <bug>49669</bug>: Fix memoey leak triggered by using the deprecated
+ javax.security.auth.Policy class. (markt)
+ </fix>
+ <fix>
<bug>49922</bug>: Don't add filter twice to filter chain if the
filter matches more than one URL pattern and/or Servlet name. (markt)
</fix>